Skip to content

Commit

Permalink
services
Browse files Browse the repository at this point in the history
  • Loading branch information
olegdayo committed Dec 1, 2024
1 parent e356600 commit ed74a3d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion code/back/validator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ WORKDIR /app
COPY . .
RUN apt update && apt install musl-tools -y
RUN rustup target add x86_64-unknown-linux-musl
RUN ls
RUN cargo build --release --target x86_64-unknown-linux-musl

FROM --platform=linux/amd64 alpine:latest AS runner

Check warning on line 8 in code/back/validator/Dockerfile

View workflow job for this annotation

GitHub Actions / validator

FROM --platform flag should not use a constant value

FromPlatformFlagConstDisallowed: FROM --platform flag should not use constant value "linux/amd64" More info: https://docs.docker.com/go/dockerfile/rule/from-platform-flag-const-disallowed/
Expand Down

0 comments on commit ed74a3d

Please sign in to comment.