1
0
mirror of https://github.com/goharbor/harbor.git synced 2025-01-07 00:17:51 +01:00
harbor/migration/Dockerfile

22 lines
352 B
Docker

FROM mysql:5.6
MAINTAINER bhe@vmware.com
RUN sed -i -e 's/us.archive.ubuntu.com/archive.ubuntu.com/g' /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y curl python python-pip git python-mysqldb
RUN pip install alembic
RUN mkdir -p /harbor-migration
WORKDIR /harbor-migration
COPY ./ ./
RUN ./prepare.sh
ENTRYPOINT ["./run.sh"]