Skip to content

Commit

Permalink
Fix image build (#815)
Browse files Browse the repository at this point in the history
closes #814 

Changing to _Alpine_ version is required to install `jq` package. But
this alpine image doesn't contain some important packages, thus
installed them too.

Using jq also required because it formats JSON from Github request and
we _grep_ results from it
  • Loading branch information
roman-khimov authored Aug 28, 2023
2 parents d6fba1d + 0efeb11 commit 521af4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.20 as builder
FROM golang:1.20-alpine as builder

ARG BUILD=now
ARG REPO=github.com/nspcc-dev/neofs-s3-gw
Expand All @@ -7,6 +7,8 @@ ARG VERSION=dev
WORKDIR /src
COPY . /src

RUN apk add --no-cache jq make bash curl

RUN make

# Executable image
Expand Down

0 comments on commit 521af4b

Please sign in to comment.