-
-
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
1 parent
9cb77ab
commit 6d2367f
Showing
3 changed files
with
36 additions
and
14 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
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
ARG VERSION | ||
|
||
FROM node:21.6-bookworm as build | ||
# renovate: datasource=npm depName=@bitwarden/cli versioning=npm | ||
ARG BW_VERSION=2024.1.0 | ||
|
||
ARG TARGETPLATFORM | ||
ARG TARGETARCH | ||
ARG TARGETOS | ||
|
||
LABEL dev.LilDrunkenSmurf.image.target_platform=$TARGETPLATFORM | ||
LABEL dev.LilDrunkenSmurf.image.target_architecture=$TARGETARCH | ||
LABEL dev.LilDrunkenSmurf.image.target_os=$TARGETOS | ||
LABEL org.opencontainers.image.source="https://github.com/bitwarden/clients" | ||
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=weaveworks/tf-runner versioning=docker | ||
|
||
FROM ghcr.io/weaveworks/tf-runner:v${VERSION} as runner | ||
|
||
USER root | ||
|
||
COPY --from=build /usr/local/bin/bw /usr/local/bin/bw | ||
|
||
USER 65532:65532 |
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