Skip to content

Commit

Permalink
Update and rename Dockerfile to Dockerfile.linux.amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
LizJeong authored Jul 15, 2024
1 parent 795ede9 commit c0f3b81
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 50 deletions.
50 changes: 0 additions & 50 deletions .github/workflows/Dockerfile

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/Dockerfile.linux.amd64
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM golang:1.22

WORKDIR /src

RUN apt-get update && apt-get install -y git make

COPY . .

ENV MOVEVM_VERSION=v0.2.12

RUN make build-linux-with-shared-library ARCH=amd64

FROM ubuntu:20.04

WORKDIR /app

COPY --from=0 /src/build/initiad /app/
COPY --from=0 /src/build/*.so /app/

CMD ["/app/initiad", "version"]

0 comments on commit c0f3b81

Please sign in to comment.