Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 7 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# renovate: datasource=docker depName=eclipse-temurin allowedVersions=<18.0.0
ARG JDK17_VERSION=17.0.16_8-jdk

FROM eclipse-temurin:$JDK17_VERSION as jdk17

Check warning on line 4 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Container Image

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 4 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Container Image

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
FROM eclipse-temurin:21.0.8_9-jdk as jdk21

Check warning on line 5 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Container Image

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 5 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Container Image

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
FROM ghcr.io/helmfile/helmfile:v1.1.7 as helmfile

Check warning on line 6 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Container Image

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 6 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Container Image

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
FROM gitlab/glab:v1.74.0 as glab-cli

Check warning on line 7 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Container Image

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 7 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Container Image

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
FROM jnorwood/helm-docs:v1.14.2 as helm-docs

Check warning on line 8 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Container Image

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 8 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Container Image

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
FROM cloudtooling/dev-buildbox-base:0.1.4

ARG BUILD_DATE
ENV BUILD_DATE $BUILD_DATE

Check warning on line 12 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Container Image

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 12 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Container Image

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

ENV PIP_BREAK_SYSTEM_PACKAGES 1

Check warning on line 14 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Container Image

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 14 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Container Image

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ENV JAVA_17_HOME /opt/java/openjdk17

Check warning on line 15 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Container Image

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 15 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Container Image

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
ENV JAVA_21_HOME /opt/java/openjdk21

Check warning on line 16 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Container Image

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 16 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Container Image

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

# renovate: datasource=maven depName=org.owasp:dependency-check-maven versioning=maven
ARG MAVEN_OWASP_DEPENDENCY_CHECK_PLUGIN_VERSION="8.3.1"
Expand All @@ -24,8 +24,8 @@
# renovate: datasource=github-tags depName=kubernetes/kubernetes extractVersion=^v(?<version>.*)$
ARG KUBECTL_VERSION="1.34.1"

# TODO: Use renovate to extract
ARG NODE_MAJOR_VERSION="20"
# renovate: datasource=docker depName=node
ARG NODE_MAJOR_VERSION="24"

# renovate: datasource=github-tags depName=nvm-sh/nvm
ARG NVM_VERSION="0.40.3"
Expand Down Expand Up @@ -77,18 +77,13 @@

# Add NodeJS
RUN mkdir -p /etc/apt/keyrings &&\
# Download the new repository's GPG key and save it in the keyring directory
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg &&\
# Add the new repository's source list with its GPG key for package verification
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_MAJOR_VERSION}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list &&\
apt-get update && apt-get install -y nodejs && npm install -g yarn &&\
# nx cli
npm add --global nx@latest &&\
# install changelog cli & json lint
npm install -g conventional-changelog-cli jsonlint &&\
# nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v${NVM_VERSION}/install.sh | bash &&\
. ~/.nvm/nvm.sh && nvm install v20 && \
# install changelog cli, yarn & json lint
. ~/.nvm/nvm.sh && nvm install ${NODE_MAJOR_VERSION} && \
npm install -g conventional-changelog-cli jsonlint yarn &&\
# nx cli
npm add --global nx@latest &&\
# clean up to slim image
apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/{apt,dpkg,cache,log}/

Expand Down
Loading