Compare commits

..

1 Commits

Author SHA1 Message Date
Jef Roosens 9cec2e0dc2
feat(ci): use custom builder image
ci/woodpecker/push/build Pipeline failed Details
ci/woodpecker/push/lint Pipeline failed Details
2024-07-07 13:35:45 +02:00
2 changed files with 3 additions and 1 deletions

View File

@ -9,5 +9,4 @@ steps:
lint: lint:
image: 'git.rustybever.be/chewing_bever/rieter-builder:1.79-alpine3.19' image: 'git.rustybever.be/chewing_bever/rieter-builder:1.79-alpine3.19'
commands: commands:
- rustup component add rustfmt
- cargo fmt -- --check - cargo fmt -- --check

View File

@ -1,7 +1,10 @@
# Command to build and push builder image (change tags as necessary):
# docker buildx build -f build.Dockerfile -t git.rustybever.be/chewing_bever/rieter-builder:1.79-alpine3.19 --platform linux/amd64,linux/arm64 --push .
FROM rust:1.79-alpine3.19 FROM rust:1.79-alpine3.19
# Dependencies required to statically compile libarchive and libsqlite3 # Dependencies required to statically compile libarchive and libsqlite3
RUN apk add --no-cache \ RUN apk add --no-cache \
build-base \
libarchive-static libarchive-dev \ libarchive-static libarchive-dev \
zlib-static \ zlib-static \
openssl-libs-static \ openssl-libs-static \