-
Notifications
You must be signed in to change notification settings - Fork 556
/
Dockerfile.devcontainer
54 lines (45 loc) · 1.15 KB
/
Dockerfile.devcontainer
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
FROM mcr.microsoft.com/vscode/devcontainers/base:ubuntu-22.04
ENV DEBIAN_FRONTEND="noninteractive" TZ="Etc/UTC"
RUN \
apt-get update && \
apt-get install -y --no-install-recommends \
make \
curl \
git \
build-essential \
&& \
true
RUN \
apt-get install -y --no-install-recommends \
libdb-dev \
libjpeg-dev \
&& \
true
RUN \
apt-get install -y --no-install-recommends \
default-jre-headless \
&& \
true
RUN \
apt-get install -y --no-install-recommends \
software-properties-common \
&& \
apt-get install -y --no-install-recommends \
python3 \
python3-pip \
python3-dev \
python3-venv \
python-is-python3 \
&& \
python --version && \
true
RUN sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin
COPY devtools/requirements-poetry.in /var/tmp/
RUN \
python -m pip install --upgrade \
tox \
pre-commit \
-r /var/tmp/requirements-poetry.in \
&& \
true
RUN git config --system --add safe.directory /srv/workspace