Skip to content
Snippets Groups Projects
Commit 14868fa1 authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

Création image rabbit mq 3.13.3

parent 5169d7a3
Branches
No related tags found
No related merge requests found
Pipeline #370 failed
FROM rabbitmq:3.13.3-alpine
LABEL author="Sofiane Lasri"
RUN adduser --disabled-password --home /home/container container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD ["/bin/bash", "/entrypoint.sh"]
\ No newline at end of file
#!/bin/bash
cd /home/container
MODIFIED_STARTUP=$(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
echo ":/home/container$ ${MODIFIED_STARTUP}"
# Run the Server
eval ${MODIFIED_STARTUP}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment