2 Commits

Author SHA1 Message Date
8e3e81978a remove unnecessary container build steps
All checks were successful
Ruby Lint / lint (push) Successful in 14s
Ruby Test / test (push) Successful in 15s
Release / docker (push) Successful in 26m11s
2025-06-28 18:51:00 -05:00
9d730100b3 namespace cache IDs by TARGETARCH 2025-06-28 18:50:12 -05:00
3 changed files with 1 additions and 13 deletions

View File

@@ -10,6 +10,7 @@ target "_common" {
RUBY_VERSION = "3.4.4"
}
platforms = [
"linux/amd64",
"linux/arm64",
]
}

View File

@@ -18,14 +18,8 @@ RUN \
apk update -q; \
apk add bash jemalloc
RUN \
--mount=type=cache,id=usr-local-bundle-cache-${TARGETARCH},target=${BUNDLE_PATH},sharing=locked \
gem install -N bundler
FROM base AS build
ARG TARGETARCH
RUN \
--mount=type=cache,id=var-cache-apk-${TARGETARCH},target=/var/cache/apk,sharing=locked \
apk update -q; \

View File

@@ -23,16 +23,9 @@ RUN \
apt-get install --yes --no-install-recommends \
libjemalloc2
RUN \
--mount=type=cache,id=usr-local-bundle-cache-${TARGETARCH},target=${BUNDLE_PATH},sharing=locked \
gem install -N bundler
ENV DEBIAN_FRONTEND="noninteractive"
FROM base AS build
ARG TARGETARCH
RUN \
--mount=type=cache,id=var-cache-apt-${TARGETARCH},target=/var/cache/apt,sharing=locked \
--mount=type=cache,id=var-lib-apt-${TARGETARCH},target=/var/lib/apt,sharing=locked \