Skip to content

Commit

Permalink
Merge pull request #362 from NOAA-OWP/podman
Browse files Browse the repository at this point in the history
Adding poderize scrpits
  • Loading branch information
epag authored Nov 20, 2024
2 parents 034282d + 3de91fa commit 3b9d222
Show file tree
Hide file tree
Showing 9 changed files with 829 additions and 8 deletions.
2 changes: 1 addition & 1 deletion scripts/localWindowsDeployScripts/broker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN echo "wres_docker:x:498:1370800073::/home/wres_docker:" >> /etc/passwd \
&& echo "user:!:1:0:99999:7:::" >> /etc/shadow \
&& echo "wres:x:1370800073:" >> /etc/group \
&& mkdir /home/wres_docker \
&& chown wres_docker: /home/wres_docker
&& chown wres_docker /home/wres_docker

# Enable authentication with x509 client certificates (requires some conf too):
RUN rabbitmq-plugins enable --offline rabbitmq_auth_mechanism_ssl
Expand Down
2 changes: 1 addition & 1 deletion scripts/localWindowsDeployScripts/eventsbroker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ WORKDIR ${BROKER_WORK}

# Create directories with the correct permissions
RUN mkdir -p {${BROKER_HOME},${BROKER_CONFIG},${BROKER_INSTANCE}} && \
chown ${BROKER_USER}: ${BROKER_INSTANCE}
chown ${BROKER_USER} ${BROKER_INSTANCE}

COPY --from=builder /workspace/out ${BROKER_HOME}

Expand Down
2 changes: 1 addition & 1 deletion scripts/localWindowsDeployScripts/redis/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN echo "wres_persister_docker:x:498:1370800073::/home/wres_persister_docker:"
&& echo "user:!:1:0:99999:7:::" >> /etc/shadow \
&& echo "wres:x:1370800073:" >> /etc/group \
&& mkdir -p /home/wres_persister_docker \
&& chown wres_persister_docker: /home/wres_persister_docker
&& chown wres_persister_docker /home/wres_persister_docker

COPY redis.conf /etc/redis/redis.conf
COPY docker-healthcheck /usr/local/bin/
Expand Down
374 changes: 374 additions & 0 deletions scripts/poderize.sh

Large diffs are not rendered by default.

Loading

0 comments on commit 3b9d222

Please sign in to comment.