Compare commits
No commits in common. "aeca958cef6b2d2b33c6fc11c45437ad38010b73" and "9402c453da658e9fad3160fec5584286782d2aa9" have entirely different histories.
aeca958cef
...
9402c453da
@ -114,8 +114,6 @@ spec:
|
|||||||
value: $(params.path-to-dockerfile)
|
value: $(params.path-to-dockerfile)
|
||||||
- name: EXTRA_ARGS
|
- name: EXTRA_ARGS
|
||||||
value:
|
value:
|
||||||
- "--opt"
|
|
||||||
- "target=$(params.target-name)"
|
|
||||||
- --import-cache
|
- --import-cache
|
||||||
- "type=registry,ref=$(params.image-name):buildcache"
|
- "type=registry,ref=$(params.image-name):buildcache"
|
||||||
- --export-cache
|
- --export-cache
|
||||||
|
@ -114,8 +114,6 @@ spec:
|
|||||||
value: $(params.path-to-dockerfile)
|
value: $(params.path-to-dockerfile)
|
||||||
- name: EXTRA_ARGS
|
- name: EXTRA_ARGS
|
||||||
value:
|
value:
|
||||||
- "--opt"
|
|
||||||
- "target=$(params.target-name)"
|
|
||||||
- --import-cache
|
- --import-cache
|
||||||
- "type=registry,ref=$(params.image-name):buildcache"
|
- "type=registry,ref=$(params.image-name):buildcache"
|
||||||
- --export-cache
|
- --export-cache
|
||||||
|
@ -114,8 +114,6 @@ spec:
|
|||||||
value: $(params.path-to-dockerfile)
|
value: $(params.path-to-dockerfile)
|
||||||
- name: EXTRA_ARGS
|
- name: EXTRA_ARGS
|
||||||
value:
|
value:
|
||||||
- "--opt"
|
|
||||||
- "target=$(params.target-name)"
|
|
||||||
- --import-cache
|
- --import-cache
|
||||||
- "type=registry,ref=$(params.image-name):buildcache"
|
- "type=registry,ref=$(params.image-name):buildcache"
|
||||||
- --export-cache
|
- --export-cache
|
||||||
|
@ -114,8 +114,6 @@ spec:
|
|||||||
value: $(params.path-to-dockerfile)
|
value: $(params.path-to-dockerfile)
|
||||||
- name: EXTRA_ARGS
|
- name: EXTRA_ARGS
|
||||||
value:
|
value:
|
||||||
- "--opt"
|
|
||||||
- "target=$(params.target-name)"
|
|
||||||
- --import-cache
|
- --import-cache
|
||||||
- "type=registry,ref=$(params.image-name):buildcache"
|
- "type=registry,ref=$(params.image-name):buildcache"
|
||||||
- --export-cache
|
- --export-cache
|
||||||
|
@ -7,10 +7,10 @@ RUN apk add --no-cache musl-dev
|
|||||||
|
|
||||||
RUN mkdir /root/natter
|
RUN mkdir /root/natter
|
||||||
WORKDIR /root/natter
|
WORKDIR /root/natter
|
||||||
COPY --link . .
|
COPY . .
|
||||||
# TODO: Add static build, which currently errors due to proc_macro. RUSTFLAGS="-C target-feature=+crt-static"
|
# 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
|
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
|
||||||
|
|
||||||
FROM alpine:$ALPINE_VERSION AS runner
|
FROM alpine:$ALPINE_VERSION AS runner
|
||||||
|
|
||||||
COPY --link --from=builder /target/release-lto/natter /usr/bin/
|
COPY --from=builder /target/release-lto/natter /usr/bin/
|
||||||
|
Loading…
Reference in New Issue
Block a user