diff --git a/Dockerfile b/Dockerfile index 3c25b50..49c659d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -53,12 +53,8 @@ ADD . /dind RUN chown -R $(id -u rootless) /dind RUN chown -R $(id -u rootless) /var/run -RUN chown -R $(id -u rootless) /run/user RUN chown -R $(id -u rootless) /etc/ssl && chmod 777 -R /etc/ssl USER rootless -RUN rm -i -f /var/run && \ - ln -s /run/user/1000 /var/run && \ - ln -s /run/user/1000/docker.pid /var/run/docker.pid && \ - ln -s /run/user/1000/docker.sock /var/run/docker.sock +RUN rm -i -f /var/run && ln -s /run/user/1000 /var/run ENTRYPOINT ["./run.sh"]