Skip to content

Commit 3577b4e

Browse files
committed
New dockerfiles
Signed-off-by: Konstantinos Kallas <[email protected]>
1 parent 6b90057 commit 3577b4e

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

scripts/docker/debian/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
FROM debian:10
2-
32
SHELL ["/bin/bash", "-c"]
4-
RUN apt-get update -y && apt-get install -y git sudo
3+
## Necessary to avoid interactive responses in installations
4+
ENV DEBIAN_FRONTEND=noninteractive
5+
RUN apt-get update -y && apt-get install -y git
56

67
## Install pyenv to install python3.8
78
RUN apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl

scripts/docker/fedora/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM fedora:35
22
RUN dnf install git -y
33
ENV PASH_TOP=/opt/pash
44
# download PaSh
5-
RUN git clone --depth 1 https://github.com/binpash/pash.git /opt/pash
5+
RUN git clone https://github.com/binpash/pash.git /opt/pash
66
RUN bash /opt/pash/scripts/distro-deps.sh -o
77
RUN yes | bash /opt/pash/scripts/setup-pash.sh -o
88
ENV LANG en_US.UTF-8

scripts/docker/ubuntu/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
FROM ubuntu:18.04
1+
FROM ubuntu:20.04
2+
## Necessary to avoid interactive responses in installations
3+
ENV DEBIAN_FRONTEND=noninteractive
24
RUN apt-get update -y && apt-get install -y git
35
ENV PASH_TOP=/opt/pash
46
# download PaSh
5-
RUN git clone --depth 1 https://github.com/binpash/pash.git /opt/pash
7+
RUN git clone https://github.com/binpash/pash.git /opt/pash
68
RUN bash /opt/pash/scripts/distro-deps.sh -o
79
RUN yes | bash /opt/pash/scripts/setup-pash.sh -o
810
ENV LANG en_US.UTF-8

0 commit comments

Comments
 (0)