-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (17 loc) · 973 Bytes
/
Dockerfile
File metadata and controls
21 lines (17 loc) · 973 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM ubuntu:24.04
LABEL maintainer="Pat Brisbin <pbrisbin@restyled.io>"
ENV DEBIAN_FRONTEND=noninteractive \
LANG=C.UTF-8 \
LC_ALL=C.UTF-8
RUN apt-get update && \
apt-get -y install locales curl sudo && \
locale-gen en_US.UTF-8 && curl -sSL https://get.haskellstack.org/ | sh && \
rm -rf /var/lib/apt/lists/*
RUN apt-get update && \
apt-get -y install libsnappy1v5 libtinfo-dev libsnappy-dev jq && \
apt-get -y install liblzma5 liblzma-dev && \
apt-get -y install libz3-dev && \
rm -rf /var/lib/apt/lists/*
RUN stack install --install-ghc hpack && \
rm -rf /root/.stack && \
rm -rf /root/.stack-work