From 84692841fb67d2a81913087acdf02e8e42874a9e Mon Sep 17 00:00:00 2001 From: Jacob Hoffman-Andrews Date: Fri, 6 Oct 2017 06:36:44 -0700 Subject: [PATCH] Remove references to buser in Dockerfile. (#3152) We originally planned to run as a non-root user in our Docker setup. We haven't done that yet, so let's clean up the detritus until we do. --- Dockerfile | 7 ------- test/entrypoint.sh | 4 ---- 2 files changed, 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index a83fe6415..8caea731c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,13 +8,6 @@ EXPOSE 4000 4001 4002 4003 4430 4431 8053 8055 ENV PATH /usr/local/go/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin/ ENV GOPATH /go -RUN adduser --disabled-password --gecos "" --home /go/src/github.com/letsencrypt/boulder -q buser -RUN chown -R buser /go/ - WORKDIR /go/src/github.com/letsencrypt/boulder -RUN mkdir bin - -RUN chown -R buser /go/ - ENTRYPOINT [ "./test/entrypoint.sh" ] diff --git a/test/entrypoint.sh b/test/entrypoint.sh index 1e94afaf6..7e03ca410 100755 --- a/test/entrypoint.sh +++ b/test/entrypoint.sh @@ -47,8 +47,4 @@ if [[ $# -eq 0 ]]; then exec ./start.py fi -# TODO(jsha): Change to an unprivileged user before running commands. Currently, -# running as an unprivileged user causes the certbot integration test to fail -# during the test of the manual plugin. There's a call to killpg in there that -# kills the whole test, but only when run under `su buser -c "..."` exec $@