mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 02:06:56 -06:00
13 lines
481 B
Docker
Executable File
13 lines
481 B
Docker
Executable File
ARG UPSTREAM_IMAGE=docker.bintray.io/jfrog/artifactory-jcr
|
|
ARG UPSTREAM_TAG
|
|
FROM ${UPSTREAM_IMAGE}:${UPSTREAM_TAG}
|
|
USER root
|
|
# Copy security.xml
|
|
COPY ./security.xml /security_bootstrap/security.import.xml
|
|
RUN chown -R artifactory:artifactory /security_bootstrap
|
|
# Copy entrypoint script.
|
|
COPY ./entrypoint-artifactory.sh /entrypoint-artifactory.sh
|
|
COPY ./installer-info.json /artifactory_bootstrap/info/installer-info.json
|
|
RUN chmod 755 /entrypoint-artifactory.sh
|
|
USER artifactory
|