diff --git a/images/prowlarr/Dockerfile b/images/prowlarr/Dockerfile index bd1cbae..42ce21e 100644 --- a/images/prowlarr/Dockerfile +++ b/images/prowlarr/Dockerfile @@ -1,11 +1,13 @@ -FROM golang:latest as builder +ARG GOLANG_VERSION +FROM golang:$GOLANG_VERSION as builder ARG TARGETARCH ARG VERSION +ARG CHISEL_VERSION # Install chisel and build rootfs with prowlarr dependencies RUN \ - go install github.com/canonical/chisel/cmd/chisel@latest \ + go install github.com/canonical/chisel/cmd/chisel@${CHISEL_VERSION} \ && mkdir /rootfs \ && chisel cut \ --release ubuntu-24.04 \ diff --git a/images/radarr/Dockerfile b/images/radarr/Dockerfile index cf9436b..c77e9c2 100644 --- a/images/radarr/Dockerfile +++ b/images/radarr/Dockerfile @@ -1,11 +1,13 @@ -FROM golang:latest as builder +ARG GOLANG_VERSION +FROM golang:$GOLANG_VERSION as builder ARG TARGETARCH ARG VERSION +ARG CHISEL_VERSION # Install chisel and build rootfs with radarr dependencies RUN \ - go install github.com/canonical/chisel/cmd/chisel@latest \ + go install github.com/canonical/chisel/cmd/chisel@${CHISEL_VERSION} \ && mkdir /rootfs \ && chisel cut \ --release ubuntu-24.04 \ diff --git a/images/sonarr/Dockerfile b/images/sonarr/Dockerfile index 7fde57c..1fc8d11 100644 --- a/images/sonarr/Dockerfile +++ b/images/sonarr/Dockerfile @@ -1,11 +1,13 @@ -FROM golang:latest as builder +ARG GOLANG_VERSION +FROM golang:$GOLANG_VERSION as builder ARG TARGETARCH ARG VERSION +ARG CHISEL_VERSION # Install chisel and build rootfs with sonarr dependencies RUN \ - go install github.com/canonical/chisel/cmd/chisel@latest \ + go install github.com/canonical/chisel/cmd/chisel@${CHISEL_VERSION} \ && mkdir /rootfs \ && chisel cut \ --release ubuntu-24.04 \