Joseph Petersen
5 years ago
No known key found for this signature in database
GPG Key ID: 5756914983DA9E9
7 changed files with
28 additions and
0 deletions
-
docker/Dockerfile.j2
-
docker/amd64/Dockerfile
-
docker/amd64/Dockerfile.alpine
-
docker/arm32v6/Dockerfile
-
docker/arm32v7/Dockerfile
-
docker/arm32v7/Dockerfile.alpine
-
docker/arm64v8/Dockerfile
|
|
@ -188,6 +188,10 @@ RUN musl-strip target/{{ package_arch_target }}/release/bitwarden_rs |
|
|
|
# because we already have a binary built |
|
|
|
FROM {{ runtime_stage_base_image }} |
|
|
|
|
|
|
|
LABEL org.opencontainers.image.source="https://github.com/dani-garcia/bitwarden_rs" \ |
|
|
|
org.opencontainers.image.url="https://bitwardenrs.discourse.group" \ |
|
|
|
org.opencontainers.image.licenses="GPL-3.0" |
|
|
|
|
|
|
|
ENV ROCKET_ENV "staging" |
|
|
|
ENV ROCKET_PORT=80 |
|
|
|
ENV ROCKET_WORKERS=10 |
|
|
|
|
|
@ -68,6 +68,10 @@ RUN cargo build --features ${DB} --release |
|
|
|
# because we already have a binary built |
|
|
|
FROM debian:buster-slim |
|
|
|
|
|
|
|
LABEL org.opencontainers.image.source="https://github.com/dani-garcia/bitwarden_rs" \ |
|
|
|
org.opencontainers.image.url="https://bitwardenrs.discourse.group" \ |
|
|
|
org.opencontainers.image.licenses="GPL-3.0" |
|
|
|
|
|
|
|
ENV ROCKET_ENV "staging" |
|
|
|
ENV ROCKET_PORT=80 |
|
|
|
ENV ROCKET_WORKERS=10 |
|
|
|
|
|
@ -65,6 +65,10 @@ RUN cargo build --features ${DB} --release --target=x86_64-unknown-linux-musl |
|
|
|
# because we already have a binary built |
|
|
|
FROM alpine:3.12 |
|
|
|
|
|
|
|
LABEL org.opencontainers.image.source="https://github.com/dani-garcia/bitwarden_rs" \ |
|
|
|
org.opencontainers.image.url="https://bitwardenrs.discourse.group" \ |
|
|
|
org.opencontainers.image.licenses="GPL-3.0" |
|
|
|
|
|
|
|
ENV ROCKET_ENV "staging" |
|
|
|
ENV ROCKET_PORT=80 |
|
|
|
ENV ROCKET_WORKERS=10 |
|
|
|
|
|
@ -109,6 +109,10 @@ RUN cargo build --features ${DB} --release --target=arm-unknown-linux-gnueabi |
|
|
|
# because we already have a binary built |
|
|
|
FROM balenalib/rpi-debian:buster |
|
|
|
|
|
|
|
LABEL org.opencontainers.image.source="https://github.com/dani-garcia/bitwarden_rs" \ |
|
|
|
org.opencontainers.image.url="https://bitwardenrs.discourse.group" \ |
|
|
|
org.opencontainers.image.licenses="GPL-3.0" |
|
|
|
|
|
|
|
ENV ROCKET_ENV "staging" |
|
|
|
ENV ROCKET_PORT=80 |
|
|
|
ENV ROCKET_WORKERS=10 |
|
|
|
|
|
@ -109,6 +109,10 @@ RUN cargo build --features ${DB} --release --target=armv7-unknown-linux-gnueabih |
|
|
|
# because we already have a binary built |
|
|
|
FROM balenalib/armv7hf-debian:buster |
|
|
|
|
|
|
|
LABEL org.opencontainers.image.source="https://github.com/dani-garcia/bitwarden_rs" \ |
|
|
|
org.opencontainers.image.url="https://bitwardenrs.discourse.group" \ |
|
|
|
org.opencontainers.image.licenses="GPL-3.0" |
|
|
|
|
|
|
|
ENV ROCKET_ENV "staging" |
|
|
|
ENV ROCKET_PORT=80 |
|
|
|
ENV ROCKET_WORKERS=10 |
|
|
|
|
|
@ -66,6 +66,10 @@ RUN musl-strip target/armv7-unknown-linux-musleabihf/release/bitwarden_rs |
|
|
|
# because we already have a binary built |
|
|
|
FROM balenalib/armv7hf-alpine:3.12 |
|
|
|
|
|
|
|
LABEL org.opencontainers.image.source="https://github.com/dani-garcia/bitwarden_rs" \ |
|
|
|
org.opencontainers.image.url="https://bitwardenrs.discourse.group" \ |
|
|
|
org.opencontainers.image.licenses="GPL-3.0" |
|
|
|
|
|
|
|
ENV ROCKET_ENV "staging" |
|
|
|
ENV ROCKET_PORT=80 |
|
|
|
ENV ROCKET_WORKERS=10 |
|
|
|
|
|
@ -109,6 +109,10 @@ RUN cargo build --features ${DB} --release --target=aarch64-unknown-linux-gnu |
|
|
|
# because we already have a binary built |
|
|
|
FROM balenalib/aarch64-debian:buster |
|
|
|
|
|
|
|
LABEL org.opencontainers.image.source="https://github.com/dani-garcia/bitwarden_rs" \ |
|
|
|
org.opencontainers.image.url="https://bitwardenrs.discourse.group" \ |
|
|
|
org.opencontainers.image.licenses="GPL-3.0" |
|
|
|
|
|
|
|
ENV ROCKET_ENV "staging" |
|
|
|
ENV ROCKET_PORT=80 |
|
|
|
ENV ROCKET_WORKERS=10 |
|
|
|