mirror of
https://github.com/goharbor/harbor
synced 2025-04-09 14:17:08 +00:00

Refine the Dockerfile to remove temporary workarounds. Also fixes #3587, to make sure the configuration files of rsyslog can be read by uid 10000.
15 lines
367 B
Docker
15 lines
367 B
Docker
FROM vmware/mariadb-photon:10.2.8
|
|
|
|
RUN tdnf distro-sync \
|
|
&& tdnf install -y mariadb-devel python2 python2-devel python-pip gcc\
|
|
linux-api-headers glibc-devel binutils zlib-devel openssl-devel \
|
|
&& pip install mysqlclient alembic \
|
|
&& tdnf clean all \
|
|
&& mkdir -p /harbor-migration
|
|
|
|
WORKDIR /harbor-migration
|
|
|
|
COPY ./ ./
|
|
|
|
ENTRYPOINT ["./run.sh"]
|