Skip to content

Commit

Permalink
move to ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
ION606 committed Sep 25, 2024
1 parent 0a8b51a commit 1b021bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dockerfiles/haskell/8.8.4/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# First Stage: Builder
FROM debian:buster-slim AS builder
FROM ubuntu:22.04 AS builder

# Install necessary dependencies for building GHC
RUN apt-get update \
Expand All @@ -18,12 +18,12 @@ RUN rm -rf /root/.ghcup/cache /var/lib/apt/lists/*


# Second Stage: Final Image
FROM debian:buster-slim
FROM ubuntu:22.04

# Install runtime dependencies
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
libffi6 libgmp10 libtinfo5 build-essential \
libgmp10 libtinfo5 build-essential \
&& rm -rf /var/lib/apt/lists/*

# Copy GHC from the builder stage
Expand Down

0 comments on commit 1b021bf

Please sign in to comment.