-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
40 lines (36 loc) · 1010 Bytes
/
Dockerfile
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
FROM ubuntu:20.04
MAINTAINER Starlab <[email protected]>
ENV DEBIAN_FRONTEND=noninteractive
ENV USER root
# build depends. Please keep the package list sorted
RUN apt-get update && \
apt-get --quiet --yes install \
apt-transport-https \
bc \
build-essential \
ca-certificates \
check \
curl \
gcc-multilib \
git \
libssl-dev \
linux-headers-generic \
pkg-config \
python2.7-dev \
python3-pip \
python3-virtualenv \
software-properties-common \
wget \
&& \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
# Add the proxy cert (needs to come after ca-certificates installation)
ADD proxy.crt /usr/local/share/ca-certificates/proxy.crt
RUN chmod 644 /usr/local/share/ca-certificates/proxy.crt
RUN update-ca-certificates --fresh
# where we build
RUN mkdir /source
VOLUME ["/source"]
WORKDIR /source
CMD ["/bin/bash"]