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 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #297 from gnes-ai/feat-add-healthcheck
fix(docker): fix vcs ref url and add build date as env
- Loading branch information
Showing
4 changed files
with
8 additions
and
4 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 |
---|---|---|
|
@@ -5,7 +5,7 @@ ARG BUILD_DATE | |
|
||
LABEL maintainer="[email protected]" \ | ||
org.label-schema.vcs-ref=$VCS_REF \ | ||
org.label-schema.vcs-url="https://github.com/gnes-ai/gnes" \ | ||
org.label-schema.vcs-url="https://github.com/gnes-ai/gnes/commit/$VCS_REF" \ | ||
org.label-schema.build-date=$BUILD_DATE \ | ||
org.label-schema.name="GNES is Generic Nerual Elastic Search" | ||
|
||
|
@@ -32,5 +32,6 @@ RUN apk add --no-cache \ | |
WORKDIR / | ||
|
||
ENV GNES_VCS_VERSION=$VCS_REF | ||
ENV GNES_BUILD_DATE=$BUILD_DATE | ||
|
||
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ ARG BUILD_DATE | |
|
||
LABEL maintainer="[email protected]" \ | ||
org.label-schema.vcs-ref=$VCS_REF \ | ||
org.label-schema.vcs-url="https://github.com/gnes-ai/gnes" \ | ||
org.label-schema.vcs-url="https://github.com/gnes-ai/gnes/commit/$VCS_REF" \ | ||
org.label-schema.build-date=$BUILD_DATE \ | ||
org.label-schema.name="GNES is Generic Nerual Elastic Search" | ||
|
||
|
@@ -27,5 +27,6 @@ RUN ln -s locale.h /usr/include/xlocale.h && \ | |
WORKDIR / | ||
|
||
ENV GNES_VCS_VERSION=$VCS_REF | ||
ENV GNES_BUILD_DATE=$BUILD_DATE | ||
|
||
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ ARG BUILD_DATE | |
|
||
LABEL maintainer="[email protected]" \ | ||
org.label-schema.vcs-ref=$VCS_REF \ | ||
org.label-schema.vcs-url="https://github.com/gnes-ai/gnes" \ | ||
org.label-schema.vcs-url="https://github.com/gnes-ai/gnes/commit/$VCS_REF" \ | ||
org.label-schema.build-date=$BUILD_DATE \ | ||
org.label-schema.name="GNES is Generic Nerual Elastic Search" | ||
|
||
|
@@ -28,5 +28,6 @@ RUN pip --no-cache-dir install .[all] \ | |
WORKDIR / | ||
|
||
ENV GNES_VCS_VERSION=$VCS_REF | ||
ENV GNES_BUILD_DATE=$BUILD_DATE | ||
|
||
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ ARG BUILD_DATE | |
|
||
LABEL maintainer="[email protected]" \ | ||
org.label-schema.vcs-ref=$VCS_REF \ | ||
org.label-schema.vcs-url="https://github.com/gnes-ai/gnes" \ | ||
org.label-schema.vcs-url="https://github.com/gnes-ai/gnes/commit/$VCS_REF" \ | ||
org.label-schema.build-date=$BUILD_DATE \ | ||
org.label-schema.name="GNES is Generic Nerual Elastic Search" | ||
|
||
|
@@ -33,5 +33,6 @@ RUN pip3 install . --no-cache-dir --compile && \ | |
WORKDIR / | ||
|
||
ENV GNES_VCS_VERSION=$VCS_REF | ||
ENV GNES_BUILD_DATE=$BUILD_DATE | ||
|
||
ENTRYPOINT ["gnes"] |