Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
Added user to dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
philwinder committed Nov 7, 2016
1 parent d22c556 commit 744b4d7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docker/catalogue/Dockerfile-release
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
FROM busybox:1
FROM alpine:3.4

RUN addgroup mygroup && adduser -D -G mygroup myuser
RUN apk add --update libcap

WORKDIR /
EXPOSE 80
COPY app /
COPY images/ /images/

RUN setcap 'cap_net_bind_service=+ep' /app
USER myuser

ARG BUILD_DATE
ARG BUILD_VERSION
ARG COMMIT
Expand Down

0 comments on commit 744b4d7

Please sign in to comment.