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:
parent
2c6bd8c9dc
commit
686474f815
18 changed files with 2 additions and 53 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue