Skip to content

Commit

Permalink
chore(deps): upgrade to alpine 3.19 (celestiaorg#3265)
Browse files Browse the repository at this point in the history
  • Loading branch information
rootulp authored Apr 8, 2024
1 parent 277a65a commit 8d11e99
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#
# Separating the builder and runtime image allows the runtime image to be
# considerably smaller because it doesn't need to have Golang installed.
ARG BUILDER_IMAGE=docker.io/golang:1.22.2-alpine3.18
ARG RUNTIME_IMAGE=docker.io/alpine:3.19.1
ARG BUILDER_IMAGE=docker.io/golang:1.22.2-alpine3.19
ARG RUNTIME_IMAGE=docker.io/alpine:3.19
ARG TARGETOS
ARG TARGETARCH

Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile_txsim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 1: generate celestia-appd binary
FROM --platform=$BUILDPLATFORM docker.io/golang:1.22.2-alpine3.18 as builder
FROM --platform=$BUILDPLATFORM docker.io/golang:1.22.2-alpine3.19 as builder

ARG TARGETOS
ARG TARGETARCH
Expand All @@ -23,7 +23,7 @@ RUN uname -a &&\
make build && make txsim-build

# Stage 2: create a minimal image with the binary
FROM docker.io/alpine:3.19.1
FROM docker.io/alpine:3.19

# Use UID 10,001 because UIDs below 10,000 are a security risk.
# Ref: https://github.com/hexops/dockerfile/blob/main/README.md#do-not-use-a-uid-below-10000
Expand Down
4 changes: 2 additions & 2 deletions test/testground/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# BUILD_BASE_IMAGE is the base image to use for the build. It contains a rolling
# accumulation of Go build/package caches.
ARG BUILD_BASE_IMAGE=docker.io/golang:1.22.2-alpine3.18
ARG BUILD_BASE_IMAGE=docker.io/golang:1.22.2-alpine3.19
# This Dockerfile performs a multi-stage build and RUNTIME_IMAGE is the image
# onto which to copy the resulting binary.
#
Expand All @@ -9,7 +9,7 @@ ARG BUILD_BASE_IMAGE=docker.io/golang:1.22.2-alpine3.18
#
# The user can override the runtime image by passing in the appropriate builder
# configuration option.
ARG RUNTIME_IMAGE=alpine:3.18
ARG RUNTIME_IMAGE=alpine:3.19

#:::
#::: BUILD CONTAINER
Expand Down

0 comments on commit 8d11e99

Please sign in to comment.