| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- FROM nexus.globalprocessing.net/dbbuild AS build
- USER root
- ARG TZ=Europe/London
- ARG SA_PASSWORD=yW2S6KXdY8
- ARG ACCEPT_EULA=Y
- ARG HOST=localhost
- ARG DATA_SERVER=10.220.3.109
- ARG DACPAC1
- ARG DACPAC2
- ARG DACPAC3
- ARG DACPAC4
- ARG DACPAC5
- ARG DACPAC6
- ARG DACPAC7
- ARG DACPAC8
- ARG DACPAC9
- ARG SEEDDIR
- ARG BCPDIR
- WORKDIR /root
- COPY ./res/altersqlproj.sh /tmp/
- COPY ./res/id_rsa /root/.ssh/
- COPY ./res/dacpacentrypoint.sh /entrypoint.sh
- COPY $SEEDDIR /SeedData/
- COPY $BCPDIR /bcp/
- RUN touch /root/.ssh/known_hosts \
- && ssh-keyscan -T 60 bitbucket.org >> /root/.ssh/known_hosts \
- && chmod 600 /root/.ssh/*
- RUN (/opt/mssql/bin/sqlservr --accept-eula & ) | grep -q "Service Broker manager has started" \
- && bash /entrypoint.sh args
- FROM mcr.microsoft.com/mssql/server
- ARG TZ=Europe/London
- COPY --from=build --chown=mssql:root /var/opt/mssql/data /var/opt/mssql/data/
- USER root
- RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime \
- && echo $TZ > /etc/timezone
- USER mssql
|