-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (22 loc) · 1.13 KB
/
Copy pathDockerfile
File metadata and controls
28 lines (22 loc) · 1.13 KB
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
FROM debian:bookworm
# install dependencies
RUN apt-get update &&\
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y bc ca-certificates curl gcc git gpg procps pv unzip wget zip zlib1g-dev &&\
rm -rf /var/lib/apt/lists/*
# install demo magic
RUN curl --output /usr/local/bin/demo-magic.sh "https://raw.githubusercontent.com/paxtonhare/demo-magic/master/demo-magic.sh" &&\
chmod +x /usr/local/bin/demo-magic.sh
# install sdkman
RUN curl -s "https://get.sdkman.io" | bash
# install httpie
RUN curl -SsL https://packages.httpie.io/deb/KEY.gpg | gpg --dearmor -o /etc/apt/keyrings/httpie.gpg &&\
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/httpie.gpg] https://packages.httpie.io/deb ./" > /etc/apt/sources.list.d/httpie.list &&\
apt-get update &&\
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y httpie &&\
rm -rf /var/lib/apt/lists/*
# configure git
RUN git config --global user.email "demo@example.com" &&\
git config --global user.name "demo user" &&\
git config --global init.defaultBranch master
# install carvel tools (vendir)
RUN curl -L https://carvel.dev/install.sh | bash