Skip to content

Commit

Permalink
Improve dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Oct 9, 2024
1 parent 595dfb9 commit 5cbb259
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .docker/alpine.docker
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
## REGISTRY CONFIGURATION ######################################################

ARG REGISTRY="docker.io"
ARG REGISTRY="ghcr.io"

## BUILDER #####################################################################

FROM golang:alpine3.17 as builder
FROM golang:alpine3.20 AS builder

WORKDIR /go/src/github.com/essentialkaos/yo

Expand All @@ -15,7 +15,7 @@ RUN apk add --no-cache git make && make deps && make all

## FINAL IMAGE #################################################################

FROM ${REGISTRY}/essentialkaos/alpine:3.17
FROM ${REGISTRY}/essentialkaos/alpine:3.20

LABEL org.opencontainers.image.title="yo" \
org.opencontainers.image.description="Command-line YAML processor" \
Expand Down

0 comments on commit 5cbb259

Please sign in to comment.