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.
This commit is contained in:
Jacob Hoffman-Andrews 2017-10-06 06:36:44 -07:00 committed by Daniel McCarney
parent f472587a13
commit 84692841fb
2 changed files with 0 additions and 11 deletions

View File

@ -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" ]

View File

@ -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 $@