Skip to content

Commit 6444ea6

Browse files
committed
First Dockerfile
1 parent e4b779d commit 6444ea6

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

Dockerfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
FROM zolweb/docker-dev:latest
2+
3+
RUN apt-get clean && apt-get update -qq && apt-get install -qqy --no-install-recommends \
4+
build-essential \
5+
zlib1g-dev \
6+
libncurses5-dev \
7+
libgdbm-dev \
8+
libnss3-dev \
9+
libssl-dev \
10+
libreadline-dev \
11+
libffi-dev \
12+
wget \
13+
&& curl -O https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tar.xz \
14+
&& tar -xf Python-3.7.4.tar.xz \
15+
&& cd Python-3.7.4 \
16+
&& ./configure --enable-optimizations \
17+
&& make \
18+
&& make altinstall \
19+
&& mv ./python /usr/bin/python \
20+
&& curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
21+
&& /usr/bin/python get-pip.py \
22+
&& pip install awscli --upgrade --user \
23+
&& pip install awsebcli --upgrade --user \
24+
&& mv /root/.local/bin/aws /usr/bin/aws \
25+
&& mv /root/.local/bin/eb /usr/bin/eb

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
# docker-python-aws
1+
# docker-python-aws
2+
3+
Image with docker in docker, python, pip, aws-cli and awseb-cli installed

0 commit comments

Comments
 (0)