Skip to content

Commit

Permalink
fix: dockerfile for dev cannot run binary (#134)
Browse files Browse the repository at this point in the history
* fix: dockerfile for dev cannot run binary

* fix: test push

* fix: revert test config
  • Loading branch information
StewartJingga authored May 23, 2022
1 parent 2c63565 commit c083ffc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ RUN ["make"]
FROM alpine:latest

COPY --from=base /build/compass /usr/bin/compass
RUN ls /usr/bin
RUN apk update
RUN apk add ca-certificates

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

CMD ["compass", "serve"]

0 comments on commit c083ffc

Please sign in to comment.