Skip to content

Commit

Permalink
fix issue of building docker image (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
DuodenumL committed Mar 15, 2022
1 parent cffa6ab commit 3c384d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: build and push to github packages
uses: docker/build-push-action@v1
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ MAINTAINER CMGS <[email protected]>

# make binary
RUN apk add --no-cache git curl make gcc libc-dev
RUN git clone https://github.com/projecteru2/agent.git /go/src/github.com/projecteru2/agent
COPY . /go/src/github.com/projecteru2/agent
WORKDIR /go/src/github.com/projecteru2/agent
ARG KEEP_SYMBOL
RUN make build && ./eru-agent --version
Expand Down

0 comments on commit 3c384d9

Please sign in to comment.