Skip to content
Snippets Groups Projects
Commit 902587b1 authored by KERDREUX Jerome's avatar KERDREUX Jerome
Browse files

Time to test

parent 730f4360
No related branches found
No related tags found
No related merge requests found
FROM golang:latest FROM golang:latest
ENV LANG=C.UTF-8 ENV LANG=C.UTF-8
RUN apt-get update && apt-get -y install sudo tmux fish htop micro procps net-tools iproute2 grc inetutils-ping make docker.io && rm -rf /var/lib/apt/lists/* # RUN apt-get update && apt-get -y install sudo tmux fish htop micro procps net-tools iproute2 grc inetutils-ping make docker.io jq && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get -y install sudo docker.io jq && rm -rf /var/lib/apt/lists/*
RUN useradd -ms /usr/bin/fish xaal # RUN useradd -ms /usr/bin/fish xaal
RUN useradd -ms /usr/bin/bash xaal
RUN usermod -aG docker xaal
RUN echo "xaal ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/xaal RUN echo "xaal ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/xaal
USER xaal USER xaal
WORKDIR /home/xaal WORKDIR /home/xaal
SHELL ["/usr/bin/fish", "-c"] #SHELL ["/usr/bin/fish", "-c"]
COPY ./files/install.sh ./install.sh COPY ./files/install.sh ./install.sh
RUN sudo chown xaal:xaal ./install.sh && ./install.sh # RUN sudo chown xaal:xaal ./install.sh && ./install.sh && rm install.sh
RUN ./install.sh && rm install.sh
COPY ./files/run.sh ./run.sh
# RUN sudo chown xaal:xaal ./run.sh
COPY ./files/tmux.conf ./.tmux.conf COPY ./files/tmux.conf ./.tmux.conf
CMD ["/home/xaal/xaal_git/bin/lamp"] CMD ["./run.sh"]
# CMD ["tmux"] # CMD ["tmux"]
#CMD ["sleep","infinity"] # CMD ["sleep","infinity"]
#CMD ["bash"] #CMD ["bash"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment