Compare commits
No commits in common. "e7eeeefa536dae02117fee535ce0778ab04e4e28" and "16a39809e4cb51d16932b598ac968f6ab0a547df" have entirely different histories.
e7eeeefa53
...
16a39809e4
@ -146,8 +146,6 @@ spec:
|
||||
value: $(params.path-to-dockerfile)
|
||||
- name: EXTRA_ARGS
|
||||
value:
|
||||
- "--opt"
|
||||
- "target=$(params.target-name)"
|
||||
- --import-cache
|
||||
- "type=registry,ref=$(params.image-name):buildcache"
|
||||
- --export-cache
|
||||
|
@ -114,8 +114,6 @@ spec:
|
||||
value: $(params.path-to-dockerfile)
|
||||
- name: EXTRA_ARGS
|
||||
value:
|
||||
- "--opt"
|
||||
- "target=$(params.target-name)"
|
||||
- --import-cache
|
||||
- "type=registry,ref=$(params.image-name):buildcache"
|
||||
- --export-cache
|
||||
|
@ -114,8 +114,6 @@ spec:
|
||||
value: $(params.path-to-dockerfile)
|
||||
- name: EXTRA_ARGS
|
||||
value:
|
||||
- "--opt"
|
||||
- "target=$(params.target-name)"
|
||||
- --import-cache
|
||||
- "type=registry,ref=$(params.image-name):buildcache"
|
||||
- --export-cache
|
||||
|
@ -114,8 +114,6 @@ spec:
|
||||
value: $(params.path-to-dockerfile)
|
||||
- name: EXTRA_ARGS
|
||||
value:
|
||||
- "--opt"
|
||||
- "target=$(params.target-name)"
|
||||
- --import-cache
|
||||
- "type=registry,ref=$(params.image-name):buildcache"
|
||||
- --export-cache
|
||||
|
@ -7,12 +7,12 @@ RUN apk add --no-cache musl-dev pkgconfig libressl-dev
|
||||
|
||||
RUN mkdir /source
|
||||
WORKDIR /source
|
||||
COPY --link . .
|
||||
COPY . .
|
||||
# TODO: Add static build, which currently errors due to proc_macro. RUSTFLAGS="-C target-feature=+crt-static"
|
||||
RUN --mount=type=tmpfs,target=/tmp --mount=type=cache,target=/usr/local/cargo/registry,sharing=locked CARGO_TARGET_DIR=/target cargo build --profile release-lto --bin webhook_bridge
|
||||
|
||||
FROM alpine:$ALPINE_VERSION AS runner
|
||||
|
||||
COPY --link --from=builder /target/release-lto/webhook_bridge /usr/bin/
|
||||
COPY --from=builder /target/release-lto/webhook_bridge /usr/bin/
|
||||
|
||||
ENTRYPOINT ["/usr/bin/webhook_bridge"]
|
||||
|
Loading…
Reference in New Issue
Block a user