1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-05-13 23:23:55 +00:00

Disable Hadolint check for consecutive RUN instructions (DL3059)

This check doesn't seem to add enough value to justify the difficulties it
tends to create when generating `RUN` instructions from a template.
This commit is contained in:
Jeremy Lin 2023-01-22 01:21:52 -08:00
parent 2c6bd8c9dc
commit 686474f815
No known key found for this signature in database
18 changed files with 2 additions and 53 deletions

View file

@ -77,7 +77,6 @@ RUN touch src/main.rs
# Builds again, this time it'll just be
# your actual source files being built
# hadolint ignore=DL3059
RUN --mount=type=cache,target=/root/.cargo/git --mount=type=cache,target=/root/.cargo/registry cargo build --features ${DB} --release --target=arm-unknown-linux-musleabi
######################## RUNTIME IMAGE ########################
@ -91,7 +90,6 @@ ENV ROCKET_PROFILE="release" \
SSL_CERT_DIR=/etc/ssl/certs
# hadolint ignore=DL3059
RUN [ "cross-build-start" ]
# Create data folder and Install needed libraries
@ -102,7 +100,6 @@ RUN mkdir /data \
curl \
ca-certificates
# hadolint ignore=DL3059
RUN [ "cross-build-end" ]
VOLUME /data