mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2026-09-03 05:10:16 +03:00
Compare commits
28
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0e2b1ee3f7 | ||
|
|
cc42074b45 | ||
|
|
4133c07476 | ||
|
|
feaccebf01 | ||
|
|
7861e33324 | ||
|
|
e5f67e09c7 | ||
|
|
a574772226 | ||
|
|
536b46faea | ||
|
|
5fc37ac46c | ||
|
|
beb232f9e1 | ||
|
|
3106063e80 | ||
|
|
a1489faaf1 | ||
|
|
9ff56af1f4 | ||
|
|
8f2a967141 | ||
|
|
061e5d8b17 | ||
|
|
0ef46240d9 | ||
|
|
e4a31a6e6e | ||
|
|
b23ad4dc67 | ||
|
|
67ff7372b7 | ||
|
|
885331e7ee | ||
|
|
761a71e2f6 | ||
|
|
e1ece98d13 | ||
|
|
c0d0f62b8f | ||
|
|
3798e0e370 | ||
|
|
d316946f41 | ||
|
|
337df490dc | ||
|
|
4dbe1028cb | ||
|
|
4a51160a94 |
@@ -0,0 +1,80 @@
|
||||
name: Setup Task from the CI image
|
||||
description: Install the pinned Task binary from the CI image when Docker is available, or from a verified release archive
|
||||
inputs:
|
||||
version:
|
||||
description: Task version to install
|
||||
required: false
|
||||
default: 3.53.1
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- name: Install Task on Linux
|
||||
if: runner.os == 'Linux'
|
||||
shell: bash
|
||||
env:
|
||||
TASK_VERSION: ${{ inputs.version }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
install_dir="${RUNNER_TEMP}/task-bin"
|
||||
mkdir -p "${install_dir}"
|
||||
|
||||
if command -v docker >/dev/null 2>&1 && docker info >/dev/null 2>&1; then
|
||||
image="ghcr.io/stirling-tools/stirling-pdf-ci:task-${TASK_VERSION}"
|
||||
docker pull "${image}"
|
||||
container_id="$(docker create "${image}")"
|
||||
cleanup() { docker rm "${container_id}" >/dev/null; }
|
||||
trap cleanup EXIT
|
||||
docker cp "${container_id}:/usr/local/bin/task" "${install_dir}/task"
|
||||
chmod 0755 "${install_dir}/task"
|
||||
else
|
||||
case "${RUNNER_ARCH}" in
|
||||
X64) task_arch=amd64 ;;
|
||||
ARM64) task_arch=arm64 ;;
|
||||
*) echo "Unsupported runner architecture: ${RUNNER_ARCH}" >&2; exit 1 ;;
|
||||
esac
|
||||
task_file="task_linux_${task_arch}.tar.gz"
|
||||
archive="${RUNNER_TEMP}/${task_file}"
|
||||
checksums="${RUNNER_TEMP}/task_checksums.txt"
|
||||
release_url="https://github.com/go-task/task/releases/download/v${TASK_VERSION}"
|
||||
curl --fail --silent --show-error --location --http1.1 \
|
||||
--retry 5 --retry-all-errors --retry-delay 2 --connect-timeout 30 \
|
||||
"${release_url}/${task_file}" --output "${archive}"
|
||||
curl --fail --silent --show-error --location --http1.1 \
|
||||
--retry 5 --retry-all-errors --retry-delay 2 --connect-timeout 30 \
|
||||
"${release_url}/task_checksums.txt" --output "${checksums}"
|
||||
(
|
||||
cd "${RUNNER_TEMP}"
|
||||
grep " ${task_file}$" "${checksums}" | sha256sum -c -
|
||||
)
|
||||
tar -xzf "${archive}" -C "${install_dir}" task
|
||||
fi
|
||||
echo "${install_dir}" >> "${GITHUB_PATH}"
|
||||
|
||||
- name: Install Task natively
|
||||
if: runner.os != 'Linux'
|
||||
shell: bash
|
||||
env:
|
||||
TASK_VERSION: ${{ inputs.version }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
install_dir="${RUNNER_TEMP}/task-bin"
|
||||
mkdir -p "${install_dir}"
|
||||
case "${RUNNER_OS}-${RUNNER_ARCH}" in
|
||||
macOS-X64) task_platform=darwin; task_arch=amd64; task_file=task_darwin_amd64.tar.gz; task_sha256=7f1a702d54a789cb818a636039a83df071f4179893133afafa4eba351a7e19ef ;;
|
||||
macOS-ARM64) task_platform=darwin; task_arch=arm64; task_file=task_darwin_arm64.tar.gz; task_sha256=85d2d96c2380b33d7855b07b3f7a20dc7ca0eda999a26efa0fb5f6f32b366cd7 ;;
|
||||
Windows-X64) task_platform=windows; task_arch=amd64; task_file=task_windows_amd64.zip; task_sha256=27c0cd248c12cba03d8958d954a3df981c900be885ec9ce5f6a3cdc4e9a19316 ;;
|
||||
Windows-ARM64) task_platform=windows; task_arch=arm64; task_file=task_windows_arm64.zip; task_sha256=4f7c32c0b5a09aabfd860bcf4ff5649f0483339c1f7f90ad5ee55692da7237b6 ;;
|
||||
*) echo "Unsupported runner: ${RUNNER_OS}-${RUNNER_ARCH}" >&2; exit 1 ;;
|
||||
esac
|
||||
archive="${RUNNER_TEMP}/${task_file}"
|
||||
curl --fail --silent --show-error --location --http1.1 \
|
||||
--retry 5 --retry-all-errors --retry-delay 2 --connect-timeout 30 \
|
||||
"https://github.com/go-task/task/releases/download/v${TASK_VERSION}/${task_file}" \
|
||||
--output "${archive}"
|
||||
echo "${task_sha256} ${archive}" | sha256sum -c -
|
||||
if [[ "${task_platform}" == windows ]]; then
|
||||
unzip -p "${archive}" task.exe > "${install_dir}/task.exe"
|
||||
else
|
||||
tar -xzf "${archive}" -C "${install_dir}" task
|
||||
fi
|
||||
echo "${install_dir}" >> "${GITHUB_PATH}"
|
||||
@@ -31,6 +31,7 @@ updates:
|
||||
- "/docker/embedded"
|
||||
- "/docker/frontend"
|
||||
- "/docker/base"
|
||||
- "/docker/ci"
|
||||
- "/docker/engine"
|
||||
- "/docker/unoserver"
|
||||
- "/engine"
|
||||
|
||||
@@ -353,7 +353,7 @@ jobs:
|
||||
|
||||
- name: Install Task for Storybook
|
||||
if: steps.sb-changes.outputs.storybook == 'true'
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
|
||||
- name: Build and deploy Storybook
|
||||
id: storybook
|
||||
|
||||
@@ -206,7 +206,7 @@ jobs:
|
||||
distribution: "temurin"
|
||||
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
- name: Run Gradle Command
|
||||
run: |
|
||||
if [ "${{ needs.check-comment.outputs.disable_security }}" == "true" ]; then
|
||||
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
cache-suffix: ai-engine
|
||||
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
|
||||
- name: Quality-check engine
|
||||
id: engine-check
|
||||
|
||||
@@ -52,7 +52,7 @@ jobs:
|
||||
distribution: "temurin"
|
||||
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
- name: Check Java formatting (Spotless)
|
||||
# Runs once per matrix combination - pick the cheapest leg
|
||||
# (core - no proprietary, no saas) so we don't wait for the
|
||||
|
||||
@@ -95,7 +95,7 @@ jobs:
|
||||
cache: "npm"
|
||||
cache-dependency-path: frontend/package-lock.json
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
- name: Install Playwright (chromium only)
|
||||
run: task e2e:install -- chromium
|
||||
- name: Build frontend (needed for playwright's vite preview webServer)
|
||||
|
||||
@@ -76,7 +76,7 @@ jobs:
|
||||
cache-dependency-path: frontend/package-lock.json
|
||||
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
|
||||
- name: Verify generated models are up to date
|
||||
id: models-check
|
||||
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
distribution: "temurin"
|
||||
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
- name: Check licenses for compatibility
|
||||
run: task backend:licenses:check
|
||||
env:
|
||||
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
distribution: "temurin"
|
||||
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
- name: Generate OpenAPI documentation
|
||||
run: task backend:swagger
|
||||
env:
|
||||
|
||||
@@ -45,7 +45,7 @@ jobs:
|
||||
cache: "npm"
|
||||
cache-dependency-path: frontend/package-lock.json
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
- name: Install Playwright (chromium only)
|
||||
run: task e2e:install -- chromium
|
||||
- name: Build frontend (production bundle for vite preview)
|
||||
|
||||
@@ -44,7 +44,7 @@ jobs:
|
||||
cache: "npm"
|
||||
cache-dependency-path: frontend/package-lock.json
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
- name: Build frontend (production bundle for vite preview)
|
||||
env:
|
||||
VITE_BUILD_FOR_PREVIEW: "1"
|
||||
|
||||
@@ -36,7 +36,7 @@ jobs:
|
||||
cache: "npm"
|
||||
cache-dependency-path: frontend/package-lock.json
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
- name: a11y gate (changed stories)
|
||||
run: task frontend:storybook:a11y:changed -- origin/${{ github.base_ref || 'main' }}
|
||||
- name: Upload scan reports
|
||||
|
||||
@@ -97,7 +97,7 @@ jobs:
|
||||
run: npm ci --ignore-scripts --audit=false --fund=false
|
||||
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
|
||||
- name: Generate frontend license report (Push only)
|
||||
if: github.event_name == 'push'
|
||||
@@ -367,7 +367,7 @@ jobs:
|
||||
distribution: "temurin"
|
||||
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
|
||||
- name: Check licenses and generate report
|
||||
id: license-check
|
||||
|
||||
@@ -27,7 +27,7 @@ jobs:
|
||||
cache: "npm"
|
||||
cache-dependency-path: frontend/package-lock.json
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
- name: Quality-check frontend
|
||||
id: frontend-check
|
||||
run: task frontend:check:all
|
||||
|
||||
@@ -69,7 +69,7 @@ jobs:
|
||||
distribution: "temurin"
|
||||
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
- name: Get version number
|
||||
id: versionNumber
|
||||
run: |
|
||||
@@ -169,7 +169,7 @@ jobs:
|
||||
cache-dependency-path: frontend/package-lock.json
|
||||
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
|
||||
- name: Build JAR
|
||||
run: ./gradlew build ${{ matrix.variant.build_frontend && '-PbuildWithFrontend=true' || '' }} -x spotlessApply -x spotlessCheck -x test -x sonarqube
|
||||
@@ -268,7 +268,7 @@ jobs:
|
||||
distribution: ${{ matrix.platform == 'windows-11-arm' && 'microsoft' || 'temurin' }}
|
||||
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
|
||||
# Build the universal JRE before desktop:prepare so the jlink:runtime
|
||||
# task short-circuits on its `test -d runtime/jre` status check.
|
||||
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
cache-dependency-path: frontend/package-lock.json
|
||||
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
- name: Install all Playwright browsers
|
||||
run: task e2e:install
|
||||
|
||||
@@ -89,7 +89,7 @@ jobs:
|
||||
cache-dependency-path: frontend/package-lock.json
|
||||
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
|
||||
- name: a11y gate (every story, ${{ matrix.theme }})
|
||||
run: task frontend:storybook:a11y:${{ matrix.theme }}
|
||||
|
||||
@@ -34,7 +34,7 @@ jobs:
|
||||
cache-suffix: pre-commit
|
||||
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
|
||||
- name: Run pre-commit checks
|
||||
run: task pre-commit
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
name: Publish Task CI image
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
task-version:
|
||||
description: Task version to publish
|
||||
required: true
|
||||
default: 3.53.1
|
||||
type: string
|
||||
push:
|
||||
paths:
|
||||
- docker/ci/Dockerfile
|
||||
- .github/workflows/publish-ci-image.yml
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
- name: Set Task version
|
||||
id: version
|
||||
shell: bash
|
||||
env:
|
||||
INPUT_VERSION: ${{ inputs.task-version }}
|
||||
run: echo "value=${INPUT_VERSION:-3.53.1}" >> "${GITHUB_OUTPUT}"
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
|
||||
|
||||
- name: Log in to GHCR
|
||||
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Publish Task CI image
|
||||
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
|
||||
with:
|
||||
context: .
|
||||
file: docker/ci/Dockerfile
|
||||
# GitHub-hosted Linux jobs in this repository run on amd64. Avoid
|
||||
# QEMU/arm64 here because the image is only consumed by those jobs.
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
build-args: |
|
||||
TASK_VERSION=${{ steps.version.outputs.value }}
|
||||
tags: |
|
||||
ghcr.io/stirling-tools/stirling-pdf-ci:task-${{ steps.version.outputs.value }}
|
||||
@@ -88,7 +88,7 @@ jobs:
|
||||
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
|
||||
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
- name: Get version number
|
||||
id: versionNumber
|
||||
run: echo "versionNumber=$(./gradlew printVersion --quiet | tail -1)" >> $GITHUB_OUTPUT
|
||||
|
||||
@@ -63,7 +63,7 @@ jobs:
|
||||
SWAGGERHUB_USER: "Frooodle"
|
||||
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
- name: Get version number
|
||||
id: versionNumber
|
||||
run: echo "versionNumber=$(./gradlew printVersion --quiet | tail -1)" >> $GITHUB_OUTPUT
|
||||
|
||||
@@ -66,7 +66,7 @@ jobs:
|
||||
uv sync --project engine --locked --group tools
|
||||
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
|
||||
- name: Sync translation TOML files
|
||||
run: |
|
||||
|
||||
@@ -212,7 +212,7 @@ jobs:
|
||||
distribution: ${{ matrix.platform == 'windows-11-arm' && 'microsoft' || 'temurin' }}
|
||||
|
||||
- name: Setup Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
|
||||
- name: Build universal macOS JRE
|
||||
if: matrix.platform == 'macos-15'
|
||||
|
||||
@@ -127,7 +127,7 @@ jobs:
|
||||
distribution: "temurin"
|
||||
|
||||
- name: Install Task
|
||||
uses: go-task/setup-task@01a4adf9db2d14c1de7a560f09170b6e0df736aa # v2.1.0
|
||||
uses: ./.github/actions/setup-task
|
||||
- name: Build application
|
||||
run: task backend:build
|
||||
env:
|
||||
|
||||
@@ -36,6 +36,11 @@ tasks:
|
||||
cmds:
|
||||
- docker build -t stirling-pdf-engine .
|
||||
|
||||
build:ci:
|
||||
desc: "Build the Ubuntu CI image with Task installed"
|
||||
cmds:
|
||||
- docker build --tag stirling-pdf-ci --file docker/ci/Dockerfile .
|
||||
|
||||
up:
|
||||
desc: "Start standard docker compose stack"
|
||||
cmds:
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
# Lightweight Ubuntu image with a pinned Task binary for CI.
|
||||
# Build with: task docker:build:ci
|
||||
|
||||
FROM ubuntu:noble@sha256:561618e2c15bf2397621dd04f96926663a3b5616c189cf7e38db7e82f5c538ea
|
||||
|
||||
ARG TASK_VERSION=3.53.1
|
||||
ARG TARGETARCH=amd64
|
||||
|
||||
RUN set -eux; \
|
||||
apt-get update; \
|
||||
apt-get install --no-install-recommends -y ca-certificates curl tar; \
|
||||
rm -rf /var/lib/apt/lists/*; \
|
||||
case "${TARGETARCH}" in \
|
||||
amd64) task_arch=amd64; task_sha256=a54a408f6861ff921f6e87774180db31bacd8c1e7c944ca696db9fea49a82fc7 ;; \
|
||||
arm64) task_arch=arm64; task_sha256=e3ad19101493a0112e1f22ae8ccc54bf03e533b1076a0ca1e6c782a09ad2e588 ;; \
|
||||
*) echo "Unsupported Docker architecture: ${TARGETARCH}" >&2; exit 1 ;; \
|
||||
esac; \
|
||||
archive="/tmp/task_linux_${task_arch}.tar.gz"; \
|
||||
curl --fail --show-error --location --http1.1 --retry 5 --retry-all-errors --connect-timeout 30 \
|
||||
"https://github.com/go-task/task/releases/download/v${TASK_VERSION}/task_linux_${task_arch}.tar.gz" \
|
||||
--output "${archive}"; \
|
||||
echo "${task_sha256} ${archive}" | sha256sum --check; \
|
||||
tar --extract --file "${archive}" --directory /usr/local/bin task; \
|
||||
chmod 0755 /usr/local/bin/task; \
|
||||
rm "${archive}"
|
||||
|
||||
RUN useradd --create-home --uid 10001 --shell /usr/sbin/nologin taskuser
|
||||
|
||||
WORKDIR /workspace
|
||||
USER taskuser
|
||||
|
||||
ENTRYPOINT ["task"]
|
||||
@@ -7,7 +7,7 @@ ARG BASE_IMAGE=stirlingtools/stirling-pdf-base:${BASE_VERSION}
|
||||
# Stage 1: Build the Java application and frontend
|
||||
FROM gradle:9.7.1-jdk25@sha256:a80276ab804c348989df46016e2b5d58cad07c5b29e06f2112434d28ca5b2844 AS app-build
|
||||
|
||||
ARG TASK_VERSION=3.52.0
|
||||
ARG TASK_VERSION=3.53.1
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends curl ca-certificates \
|
||||
&& update-ca-certificates \
|
||||
|
||||
@@ -10,7 +10,7 @@ ARG BASE_IMAGE=stirlingtools/stirling-pdf-base:${BASE_VERSION}
|
||||
# Stage 1: Build the Java application and frontend
|
||||
FROM gradle:9.7.1-jdk25@sha256:a80276ab804c348989df46016e2b5d58cad07c5b29e06f2112434d28ca5b2844 AS app-build
|
||||
|
||||
ARG TASK_VERSION=3.52.0
|
||||
ARG TASK_VERSION=3.53.1
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends curl ca-certificates \
|
||||
&& update-ca-certificates \
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
FROM gradle:9.7.1-jdk25@sha256:a80276ab804c348989df46016e2b5d58cad07c5b29e06f2112434d28ca5b2844 AS build
|
||||
|
||||
# Install Node.js and npm for frontend build
|
||||
ARG TASK_VERSION=3.52.0
|
||||
ARG TASK_VERSION=3.53.1
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
curl \
|
||||
&& curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \
|
||||
|
||||
Reference in New Issue
Block a user