-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (19 loc) · 782 Bytes
/
Dockerfile
File metadata and controls
25 lines (19 loc) · 782 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
ARG DOCKER=latest
FROM docker:${DOCKER}-git
LABEL maintainer="mat@fax.fyi"
ENV IFS ","
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
ARG VERSION
ARG BUILD_DATE
ARG VCS_REF
RUN apk upgrade --no-cache --available
RUN apk add --no-cache git openssh ca-certificates docker-compose grep
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.vcs-url="https://github.com/gofunky/docker" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.version=$VERSION \
org.label-schema.schema-version="1.0"
ENTRYPOINT ["docker"]
CMD ["--help"]