1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-08-29 14:04:49 +00:00

Update armv7hf-debian Image

This commit is contained in:
JacobiteDE 2019-06-24 09:34:17 +02:00 committed by GitHub
commit 44aa247f8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,7 +65,7 @@ RUN cargo build --features ${DB} --release --target=armv7-unknown-linux-gnueabih
######################## RUNTIME IMAGE ########################
# Create a new stage with a minimal image
# because we already have a binary built
FROM balenalib/armv7hf-debian:stretch
FROM balenalib/armv7hf-debian
ENV ROCKET_ENV "staging"
ENV ROCKET_PORT=80
@ -74,11 +74,11 @@ ENV ROCKET_WORKERS=10
RUN [ "cross-build-start" ]
# Install needed libraries
RUN apt-get update && apt-get install -y\
openssl\
ca-certificates\
libmariadbclient-dev\
--no-install-recommends\
RUN apt-get update && apt-get install -y \
openssl \
ca-certificates \
libmariadbclient-dev \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir /data
@ -95,4 +95,4 @@ COPY --from=vault /web-vault ./web-vault
COPY --from=build /app/target/armv7-unknown-linux-gnueabihf/release/bitwarden_rs .
# Configures the startup!
CMD ./bitwarden_rs
CMD ./bitwarden_rs