Open
Description
Hi, I'm sorry, but while I was installing the DSP image, I noticed that at the end of the Docker file, when running the run.sh
script, the installation was ending with an error. I corrected this error by adding the following to the Dockerfile:
RUN sed -i 's/\r$//' /run.sh && \
chmod +x /run.sh
Here is all of the modified code:
FROM docker:dind
RUN apk add --no-cache npm nodejs docker docker-compose python3 alpine-sdk git bash
#&& curl -sL https://deb.nodesource.com/setup_10.x |
EXPOSE 18181
# VOLUME /var/lib/docker
RUN git clone https://github.com/giper45/DockerSecurityPlayground.git /opt/DockerSecurityPlayground
WORKDIR /opt/DockerSecurityPlayground
RUN npm install
COPY run.sh /run.sh
# ENTRYPOINT tail -f /dev/null
RUN sed -i 's/\r$//' /run.sh && \
chmod +x /run.sh
ENTRYPOINT /run.sh
Metadata
Metadata
Assignees
Labels
No labels