Skip to content

Commit a4d8fe0

Browse files
committed
alpine in debug container
1 parent 5a352e3 commit a4d8fe0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Dockerfile.debug

+6-3
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,16 @@
1414
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1515

1616
# build stage
17-
FROM rust:1.84.0-bookworm AS builder
17+
FROM rust:1.84.0-alpine AS builder
1818

1919
LABEL org.opencontainers.image.title="Parseable"
2020
LABEL maintainer="Parseable Team <[email protected]>"
2121
LABEL org.opencontainers.image.vendor="Parseable Inc"
2222
LABEL org.opencontainers.image.licenses="AGPL-3.0"
2323

24+
# Install dependencies for build
25+
RUN apk add --no-cache build-base git bash
26+
2427
WORKDIR /parseable
2528

2629
# Cache dependencies
@@ -32,9 +35,9 @@ COPY src ./src
3235
RUN cargo build
3336

3437
# final stage
35-
FROM docker.io/debian:bookworm-slim
38+
FROM alpine:latest
3639

37-
RUN apt update && apt install -y curl
40+
RUN apk add --no-cache curl
3841

3942
WORKDIR /parseable
4043

0 commit comments

Comments
 (0)