Skip to content

Commit

Permalink
fix: build docker file (#839)
Browse files Browse the repository at this point in the history
  • Loading branch information
amirvalhalla authored Dec 7, 2023
1 parent 26fcbed commit 3386a65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM alpine:3.18 as builder
FROM golang:1.21.5-alpine3.18 as builder

RUN apk add --no-cache git go gmp-dev build-base g++ openssl-dev
RUN apk add --no-cache git gmp-dev build-base g++ openssl-dev
ADD . /pactus

# Building pactus-daemon
Expand All @@ -9,7 +9,7 @@ RUN cd /pactus && \


## Copy binary files from builder into second container
FROM alpine:3.15
FROM golang:1.21.5-alpine3.18

COPY --from=builder /pactus/build/pactus-daemon /usr/bin

Expand Down

0 comments on commit 3386a65

Please sign in to comment.