You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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:Here is all of the modified code:
The text was updated successfully, but these errors were encountered: