Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile.alpine
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=linux/amd64 golang:1.23-alpine as build-stage
FROM golang:1.23-alpine as build-stage
Comment thread
mayankpande88 marked this conversation as resolved.
# Set destination for COPY
WORKDIR /app
RUN apk add --no-cache --update go gcc g++ bash git
Expand All @@ -25,7 +25,7 @@ COPY ./ ./
ARG VERSION=unknown
RUN CGO_ENABLED=1 go build -mod=readonly -ldflags "-X main.version=$VERSION" -o coroot-node-agent .

FROM --platform=linux/amd64 alpine:3.19 AS release-stage
FROM alpine:3.19 AS release-stage
Comment thread
mayankpande88 marked this conversation as resolved.
WORKDIR /app
COPY --from=build-stage /app/coroot-node-agent /usr/bin/coroot-node-agent
RUN chmod +x /usr/bin/coroot-node-agent
Expand Down