-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
68 lines (58 loc) · 1.19 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
FROM ubuntu:jammy
ENV LANG=C.UTF-8 \
LC_ALL=C.UTF-8 \
DEBIAN_FRONTEND=noninteractive
# useful tools
# - bash
# - curl
# - rsync
# - gettext-base, which provides envsubst
# - git
# - unzip
# - jq
# - postgresql-client
# - pg-activity
RUN apt-get update && apt-get -y install --no-install-recommends \
apache2-utils \
bash \
gettext-base \
gnupg \
curl \
rsync \
openssh-client \
git \
zip \
unzip \
jq \
python3-pip \
python3-jinja2 \
python3-psycopg2 \
postgresql-client \
skopeo \
awscli \
&& apt -y clean \
&& rm -rf /var/lib/apt/lists/* \
&& python3 -m pip install pg-activity
# kubectl
COPY install/get-kubectl /tmp
RUN /tmp/get-kubectl
# buildctl
COPY install/get-buildctl /tmp
RUN /tmp/get-buildctl
# kustomize
COPY install/get-kustomize /tmp
RUN /tmp/get-kustomize /usr/local/bin
# helm 3
COPY install/get-helm-3 /tmp
RUN /tmp/get-helm-3
# salt-ssh
COPY install/get-salt /tmp
RUN /tmp/get-salt
# unison
COPY install/get-unison /tmp
RUN /tmp/get-unison
# rclone
COPY install/get-rclone /tmp
RUN /tmp/get-rclone
COPY config/99-acsone.conf /etc/ssh/ssh_config.d/
RUN chmod og-rw /etc/ssh/ssh_config.d/99-acsone.conf