mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-27 04:35:16 +01:00
19f3ebd353
This patch provides a command-line tool for managing Harbor resources like users, projects, images, etc.
11 lines
268 B
Docker
11 lines
268 B
Docker
FROM python:2
|
|
MAINTAINER int32bit krystism@gmail.com
|
|
|
|
ADD . /opt/harborclient
|
|
RUN pip install -r /opt/harborclient/requirements.txt
|
|
RUN set -ex \
|
|
&& cd /opt/harborclient \
|
|
&& python setup.py install \
|
|
&& rm -rf /opt/harborclient
|
|
CMD ["harbor"]
|