Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (8 sloc) 189 Bytes
FROM golang:1.11
RUN mkdir /app
WORKDIR /app
COPY hello.go .
RUN go build -o hellogo .
RUN groupadd -g 99 appuser && useradd -r -u 99 -g appuser appuser
USER appuser
CMD ["./hellogo"]