Skip to content

Commit

Permalink
fix issue of building docker image (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
DuodenumL authored Mar 15, 2022
1 parent 47a4a04 commit 8ea5431
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 @@ -2,7 +2,7 @@ FROM golang:alpine AS BUILD

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

0 comments on commit 8ea5431

Please sign in to comment.