-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dockerfile): added option to build images from dockerfiles
Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
- Loading branch information
1 parent
438bfcd
commit a6c256a
Showing
5 changed files
with
157 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM alpine:3.16 | ||
|
||
VOLUME /out | ||
|
||
ARG VERSION=1.0.0 | ||
LABEL AUTHOR="unknown" | ||
|
||
ENV ENV_VERSION1 \$VERSION | ||
ENV ENV_VERSION2=\$VERSION | ||
ENV ENV_VERSION3=\$\{VERSION\} | ||
ENV TEST_PATH="/usr/share/test/bin:$PATH" \ | ||
TEST_PATHS_CONFIG="/etc/test/test.ini" \ | ||
TEST_PATHS_DATA="/var/lib/test" \ | ||
TEST_PATHS_HOME="/usr/share/test" \ | ||
TEST_PATHS_LOGS="/var/log/test" \ | ||
TEST_PATHS_PLUGINS="/var/lib/test/plugins" \ | ||
TEST_PATHS_PROVISIONING="/etc/test/provisioning" | ||
ENV COMMIT_SHA=${COMMIT_SHA} | ||
|
||
RUN echo \$VERSION | ||
RUN echo \$\{VERSION\} | ||
|
||
RUN apk add --no-cache lua5.3 lua-filesystem lua-lyaml lua-http | ||
|
||
ENTRYPOINT [ "/usr/local/bin/fetch-latest-releases.lua" ] |