mirror of
https://github.com/dani-garcia/bw_web_builds.git
synced 2024-12-26 20:38:25 +03:00
Also include uncompressed option
This commit is contained in:
parent
8cca4f2d1e
commit
38694cc132
2 changed files with 5 additions and 6 deletions
|
@ -41,8 +41,10 @@ RUN npm run dist
|
||||||
RUN mv build web-vault
|
RUN mv build web-vault
|
||||||
RUN tar -czvf "bw_web_vault.tar.gz" web-vault --owner=0 --group=0
|
RUN tar -czvf "bw_web_vault.tar.gz" web-vault --owner=0 --group=0
|
||||||
|
|
||||||
# We copy the final result as a separate image so there's no need to download all the intermediate steps
|
# We copy the final result as a separate empty image so there's no need to download all the intermediate steps
|
||||||
|
# The result is included both uncompressed and as a tar.gz, to be able to use it in the docker images and the github releases directly
|
||||||
FROM scratch
|
FROM scratch
|
||||||
COPY --from=build /vault/bw_web_vault.tar.gz /bw_web_vault.tar.gz
|
COPY --from=build /vault/bw_web_vault.tar.gz /bw_web_vault.tar.gz
|
||||||
# Added so docker create works
|
COPY --from=build /vault/web-vault /web-vault
|
||||||
CMD ["bash"]
|
# Added so docker create works, can't actually run a scratch image
|
||||||
|
CMD [""]
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
<VERSION>
|
|
||||||
|
|
||||||
https://github.com/bitwarden/web/releases/tag/<VERSION>
|
|
Loading…
Reference in a new issue