We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35efb17 commit 076ee86Copy full SHA for 076ee86
Dockerfile
@@ -14,19 +14,22 @@
14
# along with this program. If not, see <http://www.gnu.org/licenses/>.
15
16
# build stage
17
-FROM rust:1.83.0-bookworm as builder
+FROM rust:1.83.0-alpine AS builder
18
19
LABEL org.opencontainers.image.title="Parseable"
20
LABEL maintainer="Parseable Team <[email protected]>"
21
LABEL org.opencontainers.image.vendor="Parseable Inc"
22
LABEL org.opencontainers.image.licenses="AGPL-3.0"
23
24
+# Install dependencies for build
25
+RUN apk add --no-cache musl-dev gcc git
26
+
27
WORKDIR /parseable
28
COPY . .
29
RUN cargo build --release
30
-# final stage
-FROM gcr.io/distroless/cc-debian12:latest
31
+# Final stage with a minimal runtime image
32
+FROM alpine:latest
33
34
35
0 commit comments