diff --git a/apps/tf-runner-bitwarden/Dockerfile b/apps/tf-runner-bitwarden/Dockerfile index cfb2bb7..2dd43bc 100644 --- a/apps/tf-runner-bitwarden/Dockerfile +++ b/apps/tf-runner-bitwarden/Dockerfile @@ -1,8 +1,6 @@ ARG VERSION -FROM node:21.6-bookworm as build +FROM ghcr.io/lildrunkensmurf/bitwarden-cli:2024.1.0 as build -# renovate: datasource=npm depName=@bitwarden/cli versioning=npm -ARG BW_VERSION=2024.1.0 ARG VERSION ARG TARGETPLATFORM ARG TARGETARCH @@ -15,10 +13,6 @@ LABEL org.opencontainers.image.source="https://github.com/bitwarden/clients" LABEL org.opencontainers.image.source="https://github.com/hashicorp/terraform" LABEL org.opencontainers.image.source="https://github.com/weaveworks/tf-controller" -WORKDIR /usr/local/bin - -RUN npm i -g @bitwarden/cli@${BW_VERSION} - # renovate: datasource=github-releases depName=hashicorp/terraform versioning=docker FROM hashicorp/terraform:1.7.1 as terraform ARG VERSION @@ -28,8 +22,6 @@ ARG VERSION USER root -RUN apk add --no-cache npm \ - && npm i -g commander COPY --from=build --chown=65532:65532 /usr/local/bin/bw /usr/local/bin/bw COPY --from=terraform --chown=65532:65532 /bin/terraform /usr/local/bin/terraform