-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile.python3.8
More file actions
33 lines (31 loc) · 1.71 KB
/
Dockerfile.python3.8
File metadata and controls
33 lines (31 loc) · 1.71 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
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -qq -y update && apt-get -qq -y upgrade
RUN apt-get -qq -y install sudo
RUN apt-get -qq -y install curl
# RUN apt-get -qq -y install software-properties-common apt-utils build-essential
RUN apt-get -qq -y install software-properties-common
RUN apt-get -qq -y install apt-utils
# RUN apt-get -qq -y install build-essential
RUN apt-get -qq -y install rsyslog htop vim git zip mediainfo woff-tools
# RUN add-apt-repository -y ppa:deadsnakes/ppa
# RUN apt-get -qq -y install python3.8-dev
# RUN apt-get -qq -y install python3-pip
RUN apt-get -qq -y install python3.8
RUN apt-get -qq -y install python3-pip
RUN pip3 install --upgrade pip
RUN pip3 install --upgrade setuptools
RUN pip3 install --upgrade awscli
RUN apt-get -qq -y install bash
RUN apt-get -qq -y install libev-dev
RUN apt-get -qq -y install jq
RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add -
# RUN apt-get install -qq -y lsb-release
RUN apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
RUN apt-get -qq -y update && apt-get -qq -y install consul
# RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - && apt-get update -y && apt-get install google-cloud-sdk -y
RUN cd /root
RUN curl -O https://releases.hashicorp.com/consul-template/0.25.2/consul-template_0.25.2_linux_amd64.tgz
RUN tar -zxf consul-template_0.25.2_linux_amd64.tgz
RUN mv consul-template /usr/bin/consul-template
RUN rm -rf /var/lib/apt/lists/*