|
|
@@ -8,10 +8,14 @@ ENV VAULT_VERSION "v2.12.0b"
|
|
|
|
|
|
ENV URL "https://github.com/dani-garcia/bw_web_builds/releases/download/$VAULT_VERSION/bw_web_$VAULT_VERSION.tar.gz"
|
|
|
|
|
|
-ENV DEBIAN_FRONTEND=noninteractive \
|
|
|
- LANG=C.UTF-8 \
|
|
|
- TZ=UTC \
|
|
|
- TERM=xterm-256color
|
|
|
+
|
|
|
+# Build time options to avoid dpkg warnings and help with reproducible builds.
|
|
|
+ARG DEBIAN_FRONTEND=noninteractive
|
|
|
+ARG LANG=C.UTF-8
|
|
|
+ARG TZ=UTC
|
|
|
+ARG TERM=xterm-256color
|
|
|
+
|
|
|
+RUN echo $TERM
|
|
|
|
|
|
RUN apt update -y \
|
|
|
&& apt install -y \
|
|
|
@@ -34,6 +38,12 @@ FROM rust:1.40 as build
|
|
|
# set sqlite as default for DB ARG for backward compatibility
|
|
|
ARG DB=sqlite
|
|
|
|
|
|
+# Build time options to avoid dpkg warnings and help with reproducible builds.
|
|
|
+ARG DEBIAN_FRONTEND=noninteractive
|
|
|
+ARG LANG=C.UTF-8
|
|
|
+ARG TZ=UTC
|
|
|
+ARG TERM=xterm-256color
|
|
|
+
|
|
|
# Don't download rust docs
|
|
|
RUN rustup set profile minimal
|
|
|
|