Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update balena/open-balena-base Docker tag to v18.0.16 #466

Merged
merged 1 commit into from
Oct 21, 2024
Merged
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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM balena/open-balena-base:v18.0.14 as base
FROM balena/open-balena-base:v18.0.16 as base

Check warning on line 1 in Dockerfile

View workflow job for this annotation

GitHub Actions / Flowzone / Test docker (default, linux/amd64, self-hosted, distro:focal, amd64, default)

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 1 in Dockerfile

View workflow job for this annotation

GitHub Actions / Flowzone / Test docker (default, linux/arm64, self-hosted, distro:focal, ARM64, arm64v8, default)

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 base as builder

Check warning on line 4 in Dockerfile

View workflow job for this annotation

GitHub Actions / Flowzone / Test docker (default, linux/amd64, self-hosted, distro:focal, amd64, default)

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 / Flowzone / Test docker (default, linux/arm64, self-hosted, distro:focal, ARM64, arm64v8, default)

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/
COPY package.json package-lock.json /usr/src/app/
RUN npm ci && npm cache clean --force 2>/dev/null
COPY tsconfig.json tsconfig.dev.json /usr/src/app/
Expand All @@ -10,7 +10,7 @@
COPY src /usr/src/app/src
RUN npm run build

FROM base as plugin-builder

Check warning on line 13 in Dockerfile

View workflow job for this annotation

GitHub Actions / Flowzone / Test docker (default, linux/amd64, self-hosted, distro:focal, amd64, default)

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 13 in Dockerfile

View workflow job for this annotation

GitHub Actions / Flowzone / Test docker (default, linux/arm64, self-hosted, distro:focal, ARM64, arm64v8, default)

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/

RUN apt-get update \
&& apt-get install \
Expand All @@ -18,7 +18,7 @@
openvpn \
&& rm -rf /var/lib/apt/lists/*

FROM plugin-builder as connect-disconnect-plugin

Check warning on line 21 in Dockerfile

View workflow job for this annotation

GitHub Actions / Flowzone / Test docker (default, linux/amd64, self-hosted, distro:focal, amd64, default)

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 21 in Dockerfile

View workflow job for this annotation

GitHub Actions / Flowzone / Test docker (default, linux/arm64, self-hosted, distro:focal, ARM64, arm64v8, default)

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/

ENV CONNECT_DISCONNECT_PLUGIN_COMMIT=7c958d8b33a87a06b5a8fa096397fc623494013a
RUN git clone https://github.com/balena-io-modules/connect-disconnect-script-openvpn.git \
Expand All @@ -26,21 +26,21 @@
&& git checkout ${CONNECT_DISCONNECT_PLUGIN_COMMIT} \
&& C_INCLUDE_PATH=/usr/include/openvpn/ make plugin

FROM plugin-builder as auth-plugin

Check warning on line 29 in Dockerfile

View workflow job for this annotation

GitHub Actions / Flowzone / Test docker (default, linux/amd64, self-hosted, distro:focal, amd64, default)

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 29 in Dockerfile

View workflow job for this annotation

GitHub Actions / Flowzone / Test docker (default, linux/arm64, self-hosted, distro:focal, ARM64, arm64v8, default)

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/

ENV AUTH_PLUGIN_COMMIT=623982a5d63dd2b7b2b9f9295d10d96a56d58894

Check warning on line 31 in Dockerfile

View workflow job for this annotation

GitHub Actions / Flowzone / Test docker (default, linux/amd64, self-hosted, distro:focal, amd64, default)

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "AUTH_PLUGIN_COMMIT") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/

Check warning on line 31 in Dockerfile

View workflow job for this annotation

GitHub Actions / Flowzone / Test docker (default, linux/arm64, self-hosted, distro:focal, ARM64, arm64v8, default)

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "AUTH_PLUGIN_COMMIT") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
RUN git clone https://github.com/fac/auth-script-openvpn.git \
&& cd auth-script-openvpn \
&& git checkout ${AUTH_PLUGIN_COMMIT} \
&& C_INCLUDE_PATH=/usr/include/openvpn/ make plugin

FROM rust:1-bookworm as rust-builder

Check warning on line 37 in Dockerfile

View workflow job for this annotation

GitHub Actions / Flowzone / Test docker (default, linux/amd64, self-hosted, distro:focal, amd64, default)

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 37 in Dockerfile

View workflow job for this annotation

GitHub Actions / Flowzone / Test docker (default, linux/arm64, self-hosted, distro:focal, ARM64, arm64v8, default)

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/

WORKDIR /usr/src/app
COPY auth .
RUN cargo build --release

FROM base as main

Check warning on line 43 in Dockerfile

View workflow job for this annotation

GitHub Actions / Flowzone / Test docker (default, linux/amd64, self-hosted, distro:focal, amd64, default)

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 43 in Dockerfile

View workflow job for this annotation

GitHub Actions / Flowzone / Test docker (default, linux/arm64, self-hosted, distro:focal, ARM64, arm64v8, default)

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/

ARG TARGETARCH

Expand Down Expand Up @@ -85,7 +85,7 @@
&& ln -sf /usr/src/app/openvpn/scripts /etc/openvpn/scripts \
&& systemctl mask [email protected] openvpn.service

ENV LIBNSS_OPENVPN_VERSION 22feb11322182f6fd79f85cd014b65b6c40b7b47

Check warning on line 88 in Dockerfile

View workflow job for this annotation

GitHub Actions / Flowzone / Test docker (default, linux/amd64, self-hosted, distro:focal, amd64, default)

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 88 in Dockerfile

View workflow job for this annotation

GitHub Actions / Flowzone / Test docker (default, linux/arm64, self-hosted, distro:focal, ARM64, arm64v8, default)

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/
RUN tmp="$(mktemp -d)" ; set -x \
&& git clone -q https://github.com/balena-io-modules/libnss-openvpn.git "${tmp}" \
&& cd "${tmp}" \
Expand Down
Loading