Debian Codegraph @

tests/mssql/mssql-2017.dockerfile

raw
1 # vim: set ft=dockerfile:
2 ARG VERSION
3 FROM mcr.microsoft.com/mssql/server:${VERSION}
4
5 # Create a config directory
6 RUN mkdir -p /usr/config
7 WORKDIR /usr/config
8
9 # Bundle config source
10 COPY mssql/entrypoint.sh /usr/config/entrypoint.sh
11 COPY mssql/configure-db.sh /usr/config/configure-db.sh
12 COPY mssql/setup.sql /usr/config/setup.sql
13
14 # Grant permissions for to our scripts to be executable
15 USER root
16 RUN chmod +x /usr/config/entrypoint.sh
17 RUN chmod +x /usr/config/configure-db.sh
18
19 ENTRYPOINT ["/usr/config/entrypoint.sh"]