Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
45f31187
Unverified
Commit
45f31187
authored
Nov 03, 2020
by
Arve Knudsen
Committed by
GitHub
Nov 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
devenv: Upgrade MSSQL Docker image (#28749)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
parent
cfbbab9b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
devenv/docker/blocks/mssql/build/Dockerfile
+11
-5
devenv/docker/blocks/mssql/build/setup.sh
+2
-2
No files found.
devenv/docker/blocks/mssql/build/Dockerfile
View file @
45f31187
FROM
mcr.microsoft.com/mssql/server:201
7-CU4-ubuntu
FROM
mcr.microsoft.com/mssql/server:201
9-CU8-ubuntu-18.04
WORKDIR
/usr/setup
COPY
. /usr/setup
RUN
chmod +x /usr/setup/setup.sh
CMD
/bin/bash ./entrypoint.sh
\ No newline at end of file
COPY
setup.sh setup.sql.template entrypoint.sh ./
USER
root
RUN
chmod +x setup.sh
RUN
chown
-R
mssql ./
USER
mssql
CMD
/bin/bash ./entrypoint.sh
devenv/docker/blocks/mssql/build/setup.sh
View file @
45f31187
#/bin/bash
set
-eo
pipefail
#wait for the SQL Server to come up
sleep 15s
...
...
@@ -9,4 +10,4 @@ cat /usr/setup/setup.sql.template | awk '{
gsub(/%%PWD%%/,"'
$MSSQL_PASSWORD
'")
}1'
>
/usr/setup/setup.sql
/opt/mssql-tools/bin/sqlcmd
-S
localhost
-U
sa
-P
$MSSQL_SA_PASSWORD
-d
master
-i
/usr/setup/setup.sql
\ No newline at end of file
/opt/mssql-tools/bin/sqlcmd
-S
localhost
-U
sa
-P
$MSSQL_SA_PASSWORD
-d
master
-i
/usr/setup/setup.sql
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment