-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
39 lines (34 loc) · 913 Bytes
/
Dockerfile
File metadata and controls
39 lines (34 loc) · 913 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
36
37
38
39
ARG DOCKER_VERSION
FROM docker:${DOCKER_VERSION:-latest}
ARG GIT_COMMIT
ARG GIT_COMMIT_DATE
ENV LANG=C.UTF-8
RUN set -x \
&& apk upgrade --no-cache \
&& apk add --no-cache \
bash \
coreutils \
curl \
git \
grep \
helm \
httpie \
jq \
make \
nodejs \
npm \
openssh-client \
patch \
py3-pip \
python3 \
sed \
&& apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community \
skopeo \
&& apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing \
trivy
COPY bin/* /usr/local/bin/
COPY share/* /usr/local/share/
RUN set -x \
&& mkdir -p /usr/local/etc \
&& echo $GIT_COMMIT > /usr/local/etc/.builder-commit \
&& echo $GIT_COMMIT_DATE > /usr/local/etc/.builder-commit-date