Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

./bootstrap command not found in dockerfile


FROM ubuntu:16.04

COPY bootstrap.sh /

RUN apt-get update && apt-get clean && apt-get install -y 
    x11vnc 
    xvfb 
    fluxbox 
    wmctrl 
    wget 
    && wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - 
    && echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list 
    && apt-get update && apt-get -y install google-chrome-stable

RUN useradd apps 
    && mkdir -p /home/apps 
    && chown -v -R apps:apps /home/apps


RUN chmod +x /bootstrap.sh

CMD '/bootstrap.sh' 

Source by w3programmers.org #
 
PREVIOUS NEXT
Tagged: #command #dockerfile
ADD COMMENT
Topic
Name
6+6 =