Skip to content

Commit 6139310

Browse files
committed
Upgrading to SQL Server 2019 Community Technology Preview 2.1
1 parent 852b145 commit 6139310

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/mssql/server:2017-CU20-ubuntu-16.04
1+
FROM mcr.microsoft.com/mssql/server:2019-CTP2.1-ubuntu
22

33
# Create a config directory
44
RUN mkdir -p /usr/config

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ You can then simple call `docker-compose up` instead of the long `docker run...`
7373
## Dockerfile
7474
The Dockerfile defines how the image will be built. Each of the commands in the Dockerfile is described below.
7575

76-
The Dockerfile defines the base image (the first layer) using the official Microsoft SQL Server Linux image that can be found on [Docker Hub](http://hub.docker.com/r/microsoft/mssql-server). The Dockerfile will pull the image with the '2017-CU20-ubuntu-16.04' tag. This image requires two environment variables to be passed to it at run time - `ACCEPT_EULA` and `SA_PASSWORD`. The Microsoft SQL Server Linux image is in turn based on the official Ubuntu Linux image `Ubuntu:16.04`.
76+
The Dockerfile defines the base image (the first layer) using the official Microsoft SQL Server Linux image that can be found on [Docker Hub](http://hub.docker.com/r/microsoft/mssql-server). The Dockerfile will pull the image with the '2019-CTP2.1-ubuntu' tag. This image requires two environment variables to be passed to it at run time - `ACCEPT_EULA` and `SA_PASSWORD`. The Microsoft SQL Server Linux image is in turn based on the official Ubuntu Linux image `Ubuntu:16.04`.
7777

7878
In addition, we will need to pass the following env variables `$MSSQL_DB` `$MSSQL_USER` `$MSSQL_PASSWORD`.
7979
They will be used to configure the server with a new database and a user with admin permissions.
8080

8181
```
82-
FROM mcr.microsoft.com/mssql/server:2017-CU20-ubuntu-16.04
82+
FROM mcr.microsoft.com/mssql/server:2019-CTP2.1-ubuntu
8383
```
8484

8585
This RUN command creates a new directory _inside_ the container at /usr/config and then sets the working directory to that directory.

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: '3.2'
33
services:
44
db:
55
build: .
6-
image: mcmoe/mssqldocker:v2017.CU20.0
6+
image: mcmoe/mssqldocker:v2019.CTP21.0
77
environment:
88
ACCEPT_EULA: Y
99
SA_PASSWORD: 2astazeY

0 commit comments

Comments
 (0)