forked from mesh-iit/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitpod.Dockerfile
More file actions
25 lines (17 loc) · 770 Bytes
/
.gitpod.Dockerfile
File metadata and controls
25 lines (17 loc) · 770 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM ubuntu:latest
LABEL org.opencontainers.image.authors="Ugo Pattacini <ugo.pattacini@iit.it>"
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && \
apt install -y sudo apt-utils bash-completion wget ruby git magic-wormhole \
python3 python3-pip python3-setuptools python3-wheel
RUN pip install mkdocs && \
wget https://raw.githubusercontent.com/icub-tech-iit/documentation/master/mkdocs.yml && \
pip install $(mkdocs get-deps) && \
rm mkdocs.yml
RUN gem install yaml
RUN rm -Rf /var/lib/apt/lists/*
RUN useradd -l -u 33333 -G sudo -md /home/gitpod -s /bin/bash -p gitpod gitpod && \
sed -i.bkp -e 's/%sudo\s\+ALL=(ALL\(:ALL\)\?)\s\+ALL/%sudo ALL=NOPASSWD:ALL/g' /etc/sudoers
EXPOSE 8000
WORKDIR /workspace
CMD ["bash"]