-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile.dev
More file actions
46 lines (39 loc) · 1.51 KB
/
Dockerfile.dev
File metadata and controls
46 lines (39 loc) · 1.51 KB
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
# ARG VARIANT="ubuntu-20.04"
# ARG VARIANT="ubuntu-latest"
# FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT}
FROM mcr.microsoft.com/vscode/devcontainers/python:0-3.9
# ADD klyqa_ctl/*.py /
# ADD .git /
# ADD klyqa_ctl/requirements.txt /
ENV DEBIAN_FRONTEND=noninteractive
# RUN dpkg --add-architecture i386 && \
RUN apt-get update && apt-get -y --no-install-recommends install \
nmap iputils-ping
# ca-certificates \
# bzip2 \
# git \
# vim-common astyle \
# wget \
# tzdata \
# # python3 \
# # python3-pip \
# python3-pyprind \
# python3-requests \
# ssh \
# && \
# apt-get clean && \
# rm -rf /var/lib/apt/lists/* && \
# pip install pycryptodome && \
# pip install requests && \
# apt-get clean
RUN type -p curl >/dev/null || sudo apt install curl -y; \
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
&& sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
&& sudo apt update \
&& sudo apt install gh -y
ENV TZ=Europe/Berlin
# RUN pip3 install --no-cache-dir -r requirements.txt
# RUN pip3 install --no-cache-dir -r klyqa_ctl/requirements.txt
# RUN git config --global --unset commit.gpgsign
# ENTRYPOINT ["/klyqa-ctl.py"]