-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
53 lines (41 loc) · 1.27 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
##################################################
# Notes for GitHub Actions
# * Dockerfile instructions: https://git.io/JfGwP
# * Environment variables: https://git.io/JfGw5
##################################################
#########################
# STAGE: GLOBAL
# Description: Global args for reuse
#########################
ARG VERSION="0"
#########################
# STAGE: RUN
# Description: Run the app
#########################
FROM docker.io/alpine:latest as RUN
ARG VERSION
LABEL name="action-its-shipping-time" \
maintainer="MAHDTech <[email protected]>" \
vendor="Salt Labs" \
version="${VERSION}" \
summary="GitHub Action to prepare for shipping time" \
url="https://github.com/salt-labs/action-its-shipping-time" \
org.opencontainers.image.source="https://github.com/salt-labs/action-its-shipping-time"
WORKDIR /
RUN \
apk update \
&& apk add --no-cache\
git \
gnupg \
bash \
curl \
wget \
zip \
jq \
tzdata \
&& rm -rf /var/cache/apk/*
COPY "LICENSE" "README.md" /
COPY "scripts" "/scripts"
ENV PATH /scripts/:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/bin:/sbin
ENTRYPOINT [ "/scripts/entrypoint.sh" ]
#CMD [ "--help" ]