Skip to content

Commit

Permalink
Remove unnecessary repositery in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
M4tthewDE committed Oct 16, 2022
1 parent 97dbce3 commit fce5647
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ LABEL author="github.com/m4tthewde"

WORKDIR /go/src/github.com/m4tthewde/gopherobot
COPY . .
RUN apk add --update --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/community vips-dev git make gcc musl-dev
RUN apk add --update --no-cache vips-dev git make gcc musl-dev
RUN make build

FROM alpine:latest
RUN apk add --update --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/community vips-dev gcc musl-dev
RUN apk add --update --no-cache vips-dev gcc musl-dev
COPY --from=0 /go/src/github.com/m4tthewde/gopherobot/target/gopherobot .
CMD ["./gopherobot"]

0 comments on commit fce5647

Please sign in to comment.