-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
91 lines (84 loc) · 2.41 KB
/
Dockerfile
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# FROM ubuntu-latest
FROM docker.io/ubuntu:24.04 AS build
# Set system env
ARG TARGETOS
ARG TARGETARCH
ENV DEBIAN_FRONTEND=noninteractive
# Install common packages
RUN apt-get update && apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gawk \
gettext \
git \
gnupg \
gnupg-agent \
jq \
libcurl3-gnutls \
libcurl4 \
libgbm-dev \
libgtk2.0-0 \
libgtk-3-0 \
libnotify-dev \
libnss3 \
libxss1 \
libxtst6 \
libyaml-0-2 \
lsb-release \
psmisc \
python3-pip \
software-properties-common \
ssh \
sudo \
unzip \
wget \
xauth \
xvfb \
xz-utils \
zstd \
zip \
&& rm -rf /var/lib/apt/lists/*
# Install docker
RUN sudo apt-get install -y ca-certificates curl gnupg \
&& sudo install -m 0755 -d /etc/apt/keyrings \
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg \
&& sudo chmod a+r /etc/apt/keyrings/docker.gpg \
&& echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null \
&& sudo apt-get update && sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin \
&& rm -rf /var/lib/apt/lists/*
# Install nodejs
RUN apt-get install -y ca-certificates curl gnupg \
&& sudo mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list \
&& apt-get update \
&& apt-get install -y nodejs \
&& rm -rf /var/lib/apt/lists/*
# Install pnpm
RUN wget -qO- https://get.pnpm.io/install.sh | ENV="$HOME/.bashrc" SHELL="$(which bash)" bash -
# Install bun
RUN curl -fsSL https://bun.sh/install | bash
# Add wakemeops debian repo
RUN curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash \
&& sudo apt-get update && apt-get install -y \
act \
argo \
argocd \
github-cli \
golang-go \
helm \
helm-docs \
kind \
krew \
kubectl \
kustomize \
minio-client \
rclone \
scw \
terraform \
trivy \
vault \
yq \
&& rm -rf /var/lib/apt/lists/*