feat(ci): use custom builder image
Some checks failed
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/push/lint Pipeline failed

This commit is contained in:
Jef Roosens 2024-07-07 13:30:12 +02:00
parent 68ce684c77
commit 594787f306
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
3 changed files with 25 additions and 19 deletions

17
build.Dockerfile Normal file
View file

@ -0,0 +1,17 @@
FROM rust:1.79-alpine3.19
# Dependencies required to statically compile libarchive and libsqlite3
RUN apk add --no-cache \
libarchive-static libarchive-dev \
zlib-static \
openssl-libs-static \
bzip2-static \
xz-static \
expat-static \
zstd-static \
lz4-static \
acl-static && \
rustup component add clippy rustfmt
# Tell the libarchive3-sys package to statically link libarchive
ENV LIBARCHIVE_STATIC=1