-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile.alpine
43 lines (37 loc) · 987 Bytes
/
Dockerfile.alpine
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
# Copyright (c) 2019,2022 FEROX YT EIRL, www.ferox.yt <devops@ferox.yt>
# Copyright (c) 2019,2022 Jérémy WALTHER <jeremy.walther@golflima.net>
# See <https://github.com/frxyt/docker-cd-ssh> for details.
FROM alpine:latest
LABEL maintainer="Jérémy WALTHER <jeremy@ferox.yt>"
ENV FRX_VARS_DEBUG= \
FRX_VARS_PREFIX= \
SSH_PRIVATE_KEY= \
SSH_KNOWN_HOSTS= \
SSH_USER= \
SSH_PASS= \
SSH_HOST= \
SSH_PORT= \
SSH_OPTIONS=
RUN set -ex; \
apk add --no-cache \
bash \
ca-certificates \
curl \
gettext \
git \
jq \
openssh-client \
python3 \
py3-pip \
sshpass \
wget; \
pip3 install j2cli[yaml];
RUN set -ex; \
cat /etc/alpine-release; \
bash --version; \
curl --version; \
git --version; \
j2 --version; \
python3 --version;
COPY ./bin/cd-* /usr/bin/
COPY ./Dockerfile.alpine ./LICENSE ./README.md /frx/