Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyAkhunov authored Dec 8, 2021
1 parent f50f056 commit 62d524f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
FROM golang:1.17-alpine AS builder
FROM docker.io/library/golang:1.17-alpine3.14 AS builder

RUN apk --no-cache add make gcc g++ linux-headers git bash ca-certificates libgcc libstdc++

Expand All @@ -9,7 +9,7 @@ ADD . .
# expect that host run `git submodule update --init`
RUN make erigon rpcdaemon integration sentry hack db-tools

FROM alpine:latest
FROM docker.io/library/alpine:3.14

RUN apk add --no-cache ca-certificates libgcc libstdc++ tzdata
COPY --from=builder /app/build/bin/* /usr/local/bin/
Expand Down

0 comments on commit 62d524f

Please sign in to comment.