2020-08-24 12:06:23 +00:00
|
|
|
ARG REPO_LOCATION
|
|
|
|
# ARG BASE_VERSION
|
|
|
|
|
|
|
|
FROM ${REPO_LOCATION}minideb-node AS builder
|
|
|
|
|
|
|
|
RUN install_packages git ca-certificates
|
|
|
|
|
|
|
|
RUN git clone https://github.com/Joxit/docker-registry-ui.git /srv
|
|
|
|
WORKDIR /srv
|
2020-09-05 15:23:18 +00:00
|
|
|
RUN npm install --loglevel=warn
|
2020-08-24 12:06:23 +00:00
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
FROM ${REPO_LOCATION}minideb
|
|
|
|
# FROM ${REPO_LOCATION}minideb:${BASE_VERSION}
|
|
|
|
|
|
|
|
COPY --from=builder /srv/dist /srv
|
|
|
|
|
|
|
|
RUN install_packages busybox
|
|
|
|
|
|
|
|
USER 3:3
|
|
|
|
|
|
|
|
WORKDIR /srv
|
|
|
|
ENTRYPOINT /bin/busybox httpd -f -p 5500
|