-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:21.7.3-bookworm-slim as base | ||
FROM node:21.7.3-bookworm-slim AS base | ||
|
||
# Prerequisites | ||
|
||
|
@@ -11,7 +11,7 @@ RUN apt-get update -y && \ | |
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
FROM base as build | ||
FROM base AS build | ||
|
||
# Make sure to fail due to an error at any stage in shell pipes | ||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
|
@@ -30,7 +30,7 @@ ENV FLUX_VERSION=2.3.0 | |
|
||
RUN curl -s https://fluxcd.io/install.sh | FLUX_VERSION=${FLUX_VERSION} bash | ||
|
||
FROM base as final | ||
FROM base AS final | ||
|
||
LABEL org.opencontainers.image.vendor="Swiss GRC AG" | ||
LABEL org.opencontainers.image.authors="Swiss GRC AG <[email protected]>" | ||
|
@@ -45,7 +45,7 @@ WORKDIR / | |
# Install Renovate | ||
|
||
# renovate: datasource=npm depName=renovate | ||
ENV RENOVATE_VERSION=37.392.0 | ||
ENV RENOVATE_VERSION=37.393.0 | ||
|
||
# We need to run scripts here to have RE2 installed | ||
RUN npm install -g renovate@${RENOVATE_VERSION} && \ | ||
|
@@ -75,4 +75,4 @@ RUN flux --version | |
|
||
# Clean up | ||
RUN apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* |