Skip to content

Commit

Permalink
docker: Fix image build
Browse files Browse the repository at this point in the history
Changing to alpine version is required to install `jq` package. But this alpine image doesn't contain some important packages, thus installed them too.

Signed-off-by: Evgenii Baidakov <[email protected]>
  • Loading branch information
smallhive committed Aug 28, 2023
1 parent d6fba1d commit 0efeb11
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 0efeb11

Please sign in to comment.