Skip to content

Commit

Permalink
fix: change final Docker image to debian to remove dependency issues
Browse files Browse the repository at this point in the history
  • Loading branch information
StewartJingga committed Aug 3, 2021
1 parent 18c7f56 commit 8c8b490
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@ WORKDIR /build/
COPY . .
RUN ["make"]

FROM alpine:latest
RUN apk --no-cache add ca-certificates bash
FROM debian:stretch
WORKDIR /opt/meteor
COPY --from=builder /build/meteor /opt/meteor/meteor

# glibc compatibility library, since go binaries
# don't work well with musl libc that alpine uses
RUN ["apk", "add", "libc6-compat"]
CMD ["./meteor"]

0 comments on commit 8c8b490

Please sign in to comment.