-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
36 lines (27 loc) · 1.04 KB
/
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
FROM python:2
LABEL io.claritytech.image.authors="manash@claritytech.io"
RUN python --version
# Python 2.7.18
RUN pip install 'fabric<2.0'
RUN apt-get update \
&& apt-get install -y gosu curl ca-certificates zip unzip git \
&& apt-get -y autoremove \
&& apt-get clean
# RUN apk add --no-cache curl rsync openssh && \
# echo @edge http://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories && \
# echo @edge http://dl-cdn.alpinelinux.org/alpine/edge/main >> /etc/apk/repositories && \
# apk add --no-cache \
# fabric --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ --allow-untrusted
# https://git.alpinelinux.org/aports/tree/testing/fabric/APKBUILD
# fabric-2.6.0.tar.gz"
# Python 3.9.7 (default, Nov 24 2021, 21:15:59)
# [GCC 10.3.1 20211027] on linux
# Python | 3.9.7 |
# | Fabric | 2.6.0 |
# | Paramiko | 2.7.2 |
# | Invoke | 1.5.0 |
# | Paramiko Cell | Content Cell |
# TO ignore the CryptographyDeprecationWarning
ENV PYTHONWARNINGS="ignore"
WORKDIR /app
VOLUME /app