Skip to content

Commit

Permalink
Merge pull request #625 from deniszh/dzhdanov/fix-image-build
Browse files Browse the repository at this point in the history
fixing docker image
  • Loading branch information
deniszh authored Aug 26, 2024
2 parents 8182e65 + 2d7c026 commit 9711e99
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,12 +1,12 @@
FROM golang:1.20-alpine3.17 AS build
FROM golang:1.23-alpine AS build

COPY . /usr/local/src/go-carbon
RUN apk add --update git make bash \
&& cd /usr/local/src/go-carbon \
&& make go-carbon \
&& chmod +x go-carbon && cp -fv go-carbon /tmp

FROM alpine:3.17
FROM alpine:3

RUN addgroup -S carbon && adduser -S carbon -G carbon \
&& mkdir -p /var/lib/graphite/whisper /var/lib/graphite/dump /var/lib/graphite/tagging /var/log/go-carbon /etc/go-carbon/ \
Expand Down

0 comments on commit 9711e99

Please sign in to comment.