FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-gitlab/Dockerfile at main · netflash/python-gitlab · GitHub
netflash
python-gitlab
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-gitlab
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (14 loc) · 525 Bytes
Breadcrumbs
python-gitlab
/
Dockerfile
Copy path
File metadata and controls
19 lines (14 loc) · 525 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
ARG
PYTHON_FLAVOR=alpine
FROM
python:3.12-${PYTHON_FLAVOR} AS build
WORKDIR
/opt/python-gitlab
COPY
. .
RUN
pip install --no-cache-dir build && python -m build --wheel
FROM
python:3.12-${PYTHON_FLAVOR}
LABEL
org.opencontainers.image.source=
"https://github.com/python-gitlab/python-gitlab"
WORKDIR
/opt/python-gitlab
COPY
--from=build /opt/python-gitlab/dist dist/
RUN
pip install --no-cache-dir PyYaml
RUN
pip install --no-cache-dir $(find dist -name *.whl) && \
rm -rf dist/
ENTRYPOINT
[
"gitlab"
]
CMD
[
"--version"
]
Back
|
FazBrowse Home
|
New Git URL