fix mssql dockerfile

This commit is contained in:
lovasoa
2023-10-13 22:30:02 +02:00
parent 5c8c366021
commit e9a3d1668b
+1 -1
View File
@@ -2,6 +2,7 @@ ARG VERSION=2019-latest
FROM mcr.microsoft.com/mssql/server:${VERSION}
# Create a config directory
USER root
RUN mkdir -p /usr/config
WORKDIR /usr/config
@@ -10,7 +11,6 @@ COPY entrypoint.sh /usr/config/entrypoint.sh
COPY setup.sql /usr/config/setup.sql
# Grant permissions for to our scripts to be executable
USER root
RUN chmod +x /usr/config/entrypoint.sh
RUN chown 10001 /usr/config/entrypoint.sh
USER 10001