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 dependency balena-io/balena-cli to v20.0.6 #386

Merged
merged 1 commit into from
Nov 12, 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,9 +1,9 @@
# https://hub.docker.com/_/node
FROM node:18.20.4-bullseye-slim as base

Check warning on line 2 in Dockerfile

View workflow job for this annotation

GitHub Actions / Flowzone / Test docker (default, linux/amd64, ubuntu-22.04, 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/

WORKDIR /app

ENV DEBIAN_FRONTEND noninteractive

Check warning on line 6 in Dockerfile

View workflow job for this annotation

GitHub Actions / Flowzone / Test docker (default, linux/amd64, ubuntu-22.04, 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/

# hadolint ignore=DL3008
RUN apt-get update && apt-get install --no-install-recommends -y \
Expand All @@ -12,7 +12,7 @@
rm -rf /var/lib/apt/lists/*

# renovate: datasource=github-releases depName=balena-io/balena-cli
ARG BALENA_CLI_VERSION=v20.0.2
ARG BALENA_CLI_VERSION=v20.0.6

# Install balena-cli via standlone zip to save install time
RUN wget -q -O balena-cli.zip "https://github.com/balena-io/balena-cli/releases/download/${BALENA_CLI_VERSION}/balena-cli-${BALENA_CLI_VERSION}-linux-x64-standalone.zip" && \
Expand All @@ -25,7 +25,7 @@
# Install all dependencies required for building
RUN npm ci

FROM dev as build

Check warning on line 28 in Dockerfile

View workflow job for this annotation

GitHub Actions / Flowzone / Test docker (default, linux/amd64, ubuntu-22.04, 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/

COPY src/ src/

Expand All @@ -39,7 +39,7 @@
COPY --from=build /app/build /app/build

# Add balena-cli to PATH
ENV PATH /app/balena-cli:$PATH

Check warning on line 42 in Dockerfile

View workflow job for this annotation

GitHub Actions / Flowzone / Test docker (default, linux/amd64, ubuntu-22.04, 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/

# Install production dependencies only
RUN balena version && npm ci --production
Expand Down
Loading