adding MSSQL support

This commit is contained in:
Ignacio Cabrera
2017-03-24 12:31:38 -03:00
parent 8315a3872d
commit 6b61c7d454
6 changed files with 53 additions and 1 deletions

21
mssql/Dockerfile Normal file
View File

@ -0,0 +1,21 @@
FROM microsoft/mssql-server-linux
# Create config directory
# an set it as WORKDIR
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Bundle app source
COPY . /usr/src/app
RUN chmod +x /usr/src/app/create_table.sh
ENV MSSQL_DATABASE=$MSSQL_DATABASE
ENV ACCEPT_EULA=Y
ENV SA_PASSWORD=$MSSQL_PASSWORD
VOLUME /var/opt/mssql
EXPOSE 1433
CMD /bin/bash ./entrypoint.sh