-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: VERSION not found in docker image
- Loading branch information
Showing
2 changed files
with
6 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
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 |
---|---|---|
|
@@ -14,9 +14,10 @@ LABEL maintainer="Phillipe Smith <[email protected]>" \ | |
org.label-schema.version=$VERSION \ | ||
org.label-schema.schema-version="1.0" | ||
|
||
COPY VERSION requirements.txt / | ||
COPY rundeck_exporter.py /usr/bin/rundeck_exporter | ||
COPY VERSION requirements.txt /app/ | ||
|
||
RUN pip install --no-cache-dir --disable-pip-version-check -r requirements.txt | ||
RUN pip install --no-cache-dir --disable-pip-version-check -r /app/requirements.txt | ||
|
||
ENTRYPOINT ["/usr/bin/rundeck_exporter"] | ||
COPY rundeck_exporter.py /app/ | ||
|
||
ENTRYPOINT ["/app/rundeck_exporter.py"] |