Skip to content

Commit

Permalink
add curl in docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
davidqhr committed Aug 6, 2020
1 parent 41b75b7 commit 7b0508b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
repository: kalmhq/echoserver
username: ${{ secrets.ECHOSERVER_DOCKERHUB_USERNAME }}
password: ${{ secrets.ECHOSERVER_DOCKERHUB_PASSWORD }}
tags: latest
tag_with_ref: true
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ COPY default.pem .
RUN GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o server .

FROM alpine
RUN apk update && apk add --no-cache curl
WORKDIR /workspace
# Collect binaries and assets
RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
Expand Down

0 comments on commit 7b0508b

Please sign in to comment.