Browse Source

Update armv7hf-debian Image

pull/513/head
JacobiteDE 6 years ago
committed by GitHub
parent
commit
44aa247f8b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      Dockerfile.armv7

14
Dockerfile.armv7

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

Loading…
Cancel
Save