-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (32 loc) · 760 Bytes
/
Dockerfile
File metadata and controls
35 lines (32 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM ubuntu:22.04
MAINTAINER Matt Godbolt <matt@godbolt.org>
ARG DEBIAN_FRONTEND=noninteractive
RUN apt update -y -q && apt upgrade -y -q && apt update -y -q && \
apt -q install -y \
autoconf \
bison \
build-essential \
curl \
git \
libffi-dev \
libgdbm-dev \
libncurses5-dev \
libreadline6-dev \
libssl-dev \
libyaml-dev \
ruby \
unzip \
xz-utils \
zlib1g-dev \
&& \
cd /tmp && \
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
./aws/install && \
rm -rf aws* \
&& \
# Remove apt's lists to make the image smaller.
rm -rf /var/lib/apt/lists/*
RUN mkdir -p /root
COPY build /root/
WORKDIR /root