Skip to content

Commit d85964f

Browse files
committed
Remove builds that require vendored openssl
1 parent f3240de commit d85964f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/release.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ jobs:
2525
matrix:
2626
include:
2727
- target: x86_64-unknown-linux-gnu
28-
- target: x86_64-unknown-linux-musl
2928
- target: aarch64-unknown-linux-gnu
30-
- target: aarch64-unknown-linux-musl
3129
runs-on: ubuntu-latest
3230
steps:
3331
- uses: actions/checkout@v4

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@
22

33
ARG RUST_VERSION=1.78
44

5-
FROM --platform=$BUILDPLATFORM rust:${RUST_VERSION}-alpine AS build
5+
FROM --platform=$BUILDPLATFORM rust:${RUST_VERSION}-slim-bookworm AS build
66

77
WORKDIR /app
88

9-
RUN apk add --no-cache musl-dev perl make
9+
RUN apt-get update -y && apt-get install -y libssl-dev pkg-config
1010

1111
COPY . .
1212
RUN cargo build --locked --release --target-dir target && cp ./target/release/prodzilla /bin/prodzilla
1313

14-
FROM alpine:3.18 AS final
14+
FROM debian:bookworm-slim AS final
1515

16+
RUN apt-get update && apt-get install -y libssl-dev ca-certificates
1617
# Create a non-privileged user that the app will run under.
1718
# See https://docs.docker.com/go/dockerfile-user-best-practices/
1819
ARG UID=10001
@@ -26,6 +27,7 @@ RUN adduser \
2627
appuser
2728
USER appuser
2829

30+
2931
# Copy the executable from the "build" stage.
3032
COPY --from=build /bin/prodzilla /bin/
3133

0 commit comments

Comments
 (0)