Skip to content

Commit 77c8429

Browse files
authored
Update dockerfile add new version from mssql
1 parent 3ba74dd commit 77c8429

1 file changed

Lines changed: 2 additions & 15 deletions

File tree

mssql/Dockerfile

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,10 @@
1-
FROM microsoft/mssql-server-linux
2-
3-
LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
4-
5-
# Create config directory
6-
# an set it as WORKDIR
7-
RUN mkdir -p /usr/src/app
8-
WORKDIR /usr/src/app
9-
10-
# Bundle app source
11-
COPY . /usr/src/app
12-
13-
RUN chmod +x /usr/src/app/create_table.sh
1+
FROM mcr.microsoft.com/mssql/server:2017-latest-ubuntu
142

3+
ENV MSSQL_PID=Express
154
ENV MSSQL_DATABASE=$MSSQL_DATABASE
165
ENV ACCEPT_EULA=Y
176
ENV SA_PASSWORD=$MSSQL_PASSWORD
187

198
VOLUME /var/opt/mssql
209

2110
EXPOSE 1433
22-
23-
CMD /bin/bash ./entrypoint.sh

0 commit comments

Comments
 (0)