Skip to content
This repository was archived by the owner on Nov 24, 2020. It is now read-only.

Commit f6f0067

Browse files
committed
minor Dockerfile changes
1 parent 1be5f3a commit f6f0067

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Dockerfile

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
FROM golang:alpine AS builder
22
RUN apk update && apk add --no-cache git ca-certificates && update-ca-certificates
3-
# Create appuser.
4-
ENV USER=appuser
5-
ENV UID=10001
6-
# See https://stackoverflow.com/a/55757473/12429735RUN
7-
RUN adduser \
8-
--disabled-password \
9-
--gecos "" \
10-
--home "/nonexistent" \
11-
--shell "/sbin/nologin" \
12-
--no-create-home \
13-
--uid "${UID}" \
14-
"${USER}"
153
WORKDIR $GOPATH/src/github.com/YaleOpenLab/openx
164
COPY . .
175
RUN go get -d -v

0 commit comments

Comments
 (0)