Unverified Commit 722c8333 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

fix Dockerfile

parent 05ee8762
Pipeline #10407 passed with stages
in 20 minutes and 52 seconds
FROM golang:1.14 as builder FROM golang:1.14 as builder
RUN adduser --system appuser RUN useradd -m appuser
WORKDIR $GOPATH/src/gitlab.switch.ch/memoriav/memobase-2020/services/histogram WORKDIR $GOPATH/src/gitlab.switch.ch/memoriav/memobase-2020/services/histogram
COPY . . COPY . .
...@@ -11,7 +11,6 @@ WORKDIR /app ...@@ -11,7 +11,6 @@ WORKDIR /app
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /go/src/gitlab.switch.ch/memoriav/memobase-2020/services/histogram/bin/app /app COPY --from=builder /go/src/gitlab.switch.ch/memoriav/memobase-2020/services/histogram/bin/app /app
COPY --from=builder /etc/passwd /etc/passwd COPY --from=builder /etc/passwd /etc/passwd
RUN useradd -m appuser
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y exiftool ffmpeg imagemagick && \ apt-get install -y exiftool ffmpeg imagemagick && \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment