Skip to content

Commit

Permalink
Bump OS version to rocky linux 10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Ioannis committed Jul 8, 2025
1 parent b1502b4 commit a8014c7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ LABEL comanage_registry_src_url=${COMANAGE_REGISTRY_SRC_URL}
ARG COMANAGE_REGISTRY_DIR
ENV COMANAGE_REGISTRY_DIR=${COMANAGE_REGISTRY_DIR:-/srv/comanage-registry}

ARG CACHEDIR
ENV CACHEDIR=${CACHEDIR:-${COMANAGE_REGISTRY_DIR}/app/tmp/cache}

RUN yum -y update && yum -y install \
busybox \
&& yum clean -y all
Expand All @@ -23,12 +26,13 @@ RUN mkdir -p "${COMANAGE_REGISTRY_DIR}" \
&& wget -O comanage.tar.gz ${COMANAGE_REGISTRY_SRC_URL} \
&& tar -zxf comanage.tar.gz -C ${COMANAGE_REGISTRY_DIR} --strip-components=1 \
&& rm -f comanage.tar.gz \
# Setup the tmp directory
&& rm -rf ${COMANAGE_REGISTRY_DIR}/app/tmp \
&& cp -r ${COMANAGE_REGISTRY_DIR}/app/tmp.dist ${COMANAGE_REGISTRY_DIR}/app/tmp \
&& chown -R apache:apache ${COMANAGE_REGISTRY_DIR}/app/tmp \
&& cd ${COMANAGE_REGISTRY_DIR}/local \
&& ln -s ${COMANAGE_REGISTRY_DIR}/app/tmp tmp \
&& chown -h apache:apache ${COMANAGE_REGISTRY_DIR}/local/tmp \
# Setup the webroot directory. The permissions and the symbolic link under the appache root directory
&& chown -h apache:apache ${COMANAGE_REGISTRY_DIR}/app/webroot \
&& chown -h apache:apache ${COMANAGE_REGISTRY_DIR}/local/webroot \
&& cd /var/www/html \
&& ln -s ${COMANAGE_REGISTRY_DIR}/app/webroot registry

Expand Down
2 changes: 1 addition & 1 deletion common.bash
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
maintainer="i2incommon"
imagename="comanage-registry-cron"
imagename="comanage-registry-cron-dev"
comanage_version="4.5.0"

0 comments on commit a8014c7

Please sign in to comment.