mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-23 02:52:34 +03:00
Fix hadolint warnings on Dockerfile
This commit is contained in:
parent
a7c2d21777
commit
00e4b43d75
@ -1,8 +1,8 @@
|
||||
FROM alpine:3.17 AS builder
|
||||
WORKDIR /tmp
|
||||
ARG hurl_latest_version
|
||||
RUN apk add git jq curl cargo gcc libffi-dev libxml2-dev libxml2-utils openssl-dev
|
||||
RUN git clone --quiet --depth 1 --branch ${hurl_latest_version} https://github.com/Orange-OpenSource/hurl.git
|
||||
RUN apk add --no-cache git=* jq=* curl=* cargo=* gcc=* libffi-dev=* libxml2-dev=* libxml2-utils=* openssl-dev=* && \
|
||||
git clone --quiet --depth 1 --branch ${hurl_latest_version} https://github.com/Orange-OpenSource/hurl.git
|
||||
WORKDIR /tmp/hurl
|
||||
RUN cargo build --release --verbose --bin hurl
|
||||
|
||||
@ -28,3 +28,4 @@ COPY --from=builder /usr/lib/libxml2.so.2 /usr/lib/
|
||||
COPY --from=builder /usr/lib/libgcc_s.so.1 /usr/lib/
|
||||
COPY --from=builder /usr/lib/liblzma.so.5 /usr/lib/
|
||||
ENTRYPOINT ["/usr/bin/hurl"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user