We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4ac5da commit 0c26d97Copy full SHA for 0c26d97
mssql/Dockerfile
@@ -2,6 +2,7 @@ ARG VERSION=2019-latest
2
FROM mcr.microsoft.com/mssql/server:${VERSION}
3
4
# Create a config directory
5
+USER root
6
RUN mkdir -p /usr/config
7
WORKDIR /usr/config
8
@@ -10,7 +11,6 @@ COPY entrypoint.sh /usr/config/entrypoint.sh
10
11
COPY setup.sql /usr/config/setup.sql
12
13
# Grant permissions for to our scripts to be executable
-USER root
14
RUN chmod +x /usr/config/entrypoint.sh
15
RUN chown 10001 /usr/config/entrypoint.sh
16
USER 10001
0 commit comments