aboutsummaryrefslogtreecommitdiff
path: root/docker/debian-dev/Dockerfile
blob: 95f0602c3ecccdb425a10ebf53cec82e4a6703aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM debian:latest

ARG USER=crupest
ARG IN_CHINA=
ARG CODE_SERVER=true

ENV CRUPEST_DEBIAN_DEV_USER=${USER}
ENV CRUPEST_DEBIAN_DEV_IN_CHINA=${IN_CHINA}
ENV CRUPEST_DEBIAN_DEV_SETUP_CODE_SERVER=${CODE_SERVER}

ADD bootstrap /bootstrap

RUN /bootstrap/setup.bash
ENV LANG=en_US.utf8

USER ${USER}
WORKDIR /home/${USER}

EXPOSE 8080
VOLUME [ "/data", "/home/${USER}" ]
CMD [ "bash", "-l" ]