-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
24 lines (20 loc) · 829 Bytes
/
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
FROM scratch
# Metadata params
ARG BUILD_DATE
ARG VERSION
ARG PROJECT_URL
ARG VCS_REF
ARG TARBALL
ARG RELEASE_DESCRIPTION
# https://github.com/opencontainers/image-spec/blob/master/annotations.md
LABEL org.opencontainers.image.created="$BUILD_DATE" \
org.opencontainers.image.source="$PROJECT_URL" \
org.opencontainers.image.revision="$VCS_REF" \
org.opencontainers.image.vendor="Offensive Security" \
org.opencontainers.image.version="$VERSION" \
org.opencontainers.image.title="Kali Linux ($RELEASE_DESCRIPTION branch)" \
org.opencontainers.image.description="Official Kali Linux container image for $RELEASE_DESCRIPTION" \
org.opencontainers.image.url="https://www.kali.org/" \
org.opencontainers.image.authors="Kali Developers <devel@kali.org>"
ADD $TARBALL /
CMD ["bash"]