|
|
@ -9,6 +9,7 @@
|
|
|
|
# See: https://docs.docker.com/build/building/multi-platform/
|
|
|
|
# See: https://docs.docker.com/build/building/multi-platform/
|
|
|
|
ARG TARGETPLATFORM=${TARGETPLATFORM}
|
|
|
|
ARG TARGETPLATFORM=${TARGETPLATFORM}
|
|
|
|
ARG BUILDPLATFORM=${BUILDPLATFORM}
|
|
|
|
ARG BUILDPLATFORM=${BUILDPLATFORM}
|
|
|
|
|
|
|
|
ARG BASE_REGISTRY="docker.io"
|
|
|
|
|
|
|
|
|
|
|
|
# Ruby image to use for base image, change with [--build-arg RUBY_VERSION="3.4.x"]
|
|
|
|
# Ruby image to use for base image, change with [--build-arg RUBY_VERSION="3.4.x"]
|
|
|
|
# renovate: datasource=docker depName=docker.io/ruby
|
|
|
|
# renovate: datasource=docker depName=docker.io/ruby
|
|
|
@ -19,9 +20,9 @@ ARG NODE_MAJOR_VERSION="22"
|
|
|
|
# Debian image to use for base image, change with [--build-arg DEBIAN_VERSION="bookworm"]
|
|
|
|
# Debian image to use for base image, change with [--build-arg DEBIAN_VERSION="bookworm"]
|
|
|
|
ARG DEBIAN_VERSION="bookworm"
|
|
|
|
ARG DEBIAN_VERSION="bookworm"
|
|
|
|
# Node image to use for base image based on combined variables (ex: 20-bookworm-slim)
|
|
|
|
# Node image to use for base image based on combined variables (ex: 20-bookworm-slim)
|
|
|
|
FROM docker.io/node:${NODE_MAJOR_VERSION}-${DEBIAN_VERSION}-slim AS node
|
|
|
|
FROM ${BASE_REGISTRY}/node:${NODE_MAJOR_VERSION}-${DEBIAN_VERSION}-slim AS node
|
|
|
|
# Ruby image to use for base image based on combined variables (ex: 3.4.x-slim-bookworm)
|
|
|
|
# Ruby image to use for base image based on combined variables (ex: 3.4.x-slim-bookworm)
|
|
|
|
FROM docker.io/ruby:${RUBY_VERSION}-slim-${DEBIAN_VERSION} AS ruby
|
|
|
|
FROM ${BASE_REGISTRY}/ruby:${RUBY_VERSION}-slim-${DEBIAN_VERSION} AS ruby
|
|
|
|
|
|
|
|
|
|
|
|
# Resulting version string is vX.X.X-MASTODON_VERSION_PRERELEASE+MASTODON_VERSION_METADATA
|
|
|
|
# Resulting version string is vX.X.X-MASTODON_VERSION_PRERELEASE+MASTODON_VERSION_METADATA
|
|
|
|
# Example: v4.3.0-nightly.2023.11.09+pr-123456
|
|
|
|
# Example: v4.3.0-nightly.2023.11.09+pr-123456
|
|
|
|