Skip to content

Commit

Permalink
Merge pull request #1809 from BlackDex/fix-armv7
Browse files Browse the repository at this point in the history
Fix armv7 alpine build.
  • Loading branch information
dani-garcia authored Jun 29, 2021
2 parents 72e1946 + 18703bf commit 832f838
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docker/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ ARG DB=sqlite,postgresql
{% set features = "sqlite,postgresql" %}
{% else %}
# Alpine-based ARM (musl) only supports sqlite during compile time.
ARG DB=sqlite
# We now also need to add vendored_openssl, because the current base image we use to build has OpenSSL removed.
ARG DB=sqlite,vendored_openssl
{% set features = "sqlite" %}
{% endif %}
{% else %}
Expand Down
3 changes: 2 additions & 1 deletion docker/armv7/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ FROM vaultwarden/web-vault@sha256:894e266d4491494dd5a8a736855a6772aa146fa1420685
FROM messense/rust-musl-cross:armv7-musleabihf as build

# Alpine-based ARM (musl) only supports sqlite during compile time.
ARG DB=sqlite
# We now also need to add vendored_openssl, because the current base image we use to build has OpenSSL removed.
ARG DB=sqlite,vendored_openssl

# Build time options to avoid dpkg warnings and help with reproducible builds.
ENV DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8 TZ=UTC TERM=xterm-256color
Expand Down

0 comments on commit 832f838

Please sign in to comment.