mirror of
https://github.com/docker-training/node-bulletin-board.git
synced 2025-12-13 06:16:43 +08:00
mssql -> postgres
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
FROM microsoft/mssql-server-linux:2017-CU1
|
||||
FROM postgres:9.6
|
||||
|
||||
ENV ACCEPT_EULA=Y \
|
||||
MSSQL_SA_PASSWORD=DockerCon!!!
|
||||
ENV POSTGRES_PASSWORD=DockerCon!!!
|
||||
|
||||
WORKDIR /init
|
||||
COPY init-db.* ./
|
||||
|
||||
RUN chmod +x ./init-db.sh
|
||||
RUN /opt/mssql/bin/sqlservr & ./init-db.sh
|
||||
COPY init-db.sh /docker-entrypoint-initdb.d/init-db.sh
|
||||
|
||||
Reference in New Issue
Block a user