diff --git a/docker/mkdocs/Dockerfile b/docker/mkdocs/Dockerfile index 54a61772..77d051bd 100644 --- a/docker/mkdocs/Dockerfile +++ b/docker/mkdocs/Dockerfile @@ -1,6 +1,3 @@ FROM squidfunk/mkdocs-material:9 - RUN mkdir /workspace - -COPY ./init-container.sh /root/init-container.sh WORKDIR /workspace diff --git a/docker/mkdocs/init-container.sh b/docker/mkdocs/init-container.sh deleted file mode 100644 index 189fe6fd..00000000 --- a/docker/mkdocs/init-container.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env sh - -# This script is to be executed when the docker container is started - -# Set UID of user `node` on guest to match the UID of the user on the host machine -usermod -u $(stat -c "%u" $1) node -# Set GID of group `node` on guest to match the GID of the users primary group on the host machine -groupmod -g $(stat -c "%g" $1) node - -chown -R node /workspace