-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into martin/fix-github-tag-matching
- Loading branch information
Showing
22 changed files
with
4,890 additions
and
2,842 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM python:3.12-slim | ||
|
||
ARG VERSION | ||
|
||
ARG MY_PATH=/opt/capycli | ||
ARG MY_VENV=${MY_PATH}/venv | ||
|
||
RUN mkdir -p "${MY_PATH}" | ||
RUN python -m venv --without-pip "${MY_VENV}" | ||
ENV VIRTUAL_ENV=${MY_VENV} | ||
ENV PATH=${VIRTUAL_ENV}/bin:${PATH} | ||
|
||
COPY ./dist ${MY_PATH}/dist | ||
RUN pip --python "${MY_VENV}" \ | ||
install --no-cache-dir --no-input --progress-bar=off \ | ||
--verbose --debug \ | ||
--prefix "${MY_VENV}" --require-virtualenv \ | ||
--compile \ | ||
"capycli==${VERSION}" --find-links "file://${MY_PATH}/dist" | ||
RUN rm -rf ${MY_PATH}/dist | ||
|
||
# reset entrypoint | ||
ENTRYPOINT [] |
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
Oops, something went wrong.