mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-05-18 09:33:56 +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:
parent
2c6bd8c9dc
commit
686474f815
18 changed files with 2 additions and 53 deletions
|
@ -75,7 +75,6 @@ RUN touch src/main.rs
|
|||
|
||||
# Builds again, this time it'll just be
|
||||
# your actual source files being built
|
||||
# hadolint ignore=DL3059
|
||||
RUN cargo build --features ${DB} --release --target=aarch64-unknown-linux-musl
|
||||
|
||||
######################## RUNTIME IMAGE ########################
|
||||
|
@ -89,7 +88,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
|
||||
|
@ -100,7 +98,6 @@ RUN mkdir /data \
|
|||
curl \
|
||||
ca-certificates
|
||||
|
||||
# hadolint ignore=DL3059
|
||||
RUN [ "cross-build-end" ]
|
||||
|
||||
VOLUME /data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue