This repository has been archived by the owner on Feb 22, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docker): add vcs version as env var
- Loading branch information
hanhxiao
committed
Sep 26, 2019
1 parent
aa0f994
commit 285d9dd
Showing
6 changed files
with
10 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,4 +31,6 @@ RUN apk add --no-cache \ | |
|
||
WORKDIR / | ||
|
||
ENV GNES_VCS_VERSION=$VCS_REF | ||
|
||
ENTRYPOINT ["gnes"] |
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 |
---|---|---|
|
@@ -26,4 +26,6 @@ RUN ln -s locale.h /usr/include/xlocale.h && \ | |
|
||
WORKDIR / | ||
|
||
ENV GNES_VCS_VERSION=$VCS_REF | ||
|
||
ENTRYPOINT ["gnes"] |
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 |
---|---|---|
|
@@ -27,4 +27,6 @@ RUN pip --no-cache-dir install .[all] \ | |
|
||
WORKDIR / | ||
|
||
ENV GNES_VCS_VERSION=$VCS_REF | ||
|
||
ENTRYPOINT ["gnes"] |
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 |
---|---|---|
|
@@ -32,4 +32,6 @@ RUN pip3 install . --no-cache-dir --compile && \ | |
|
||
WORKDIR / | ||
|
||
ENV GNES_VCS_VERSION=$VCS_REF | ||
|
||
ENTRYPOINT ["gnes"] |
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