Skip to content

Commit

Permalink
docker symlink to podman
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrauzzi committed Apr 7, 2023
1 parent 82a2c3a commit 0f4cc54
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
FROM jupyter/base-notebook:python-3.7.6


USER root

# prerequisites
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y update && \
apt-get -y install curl python3-pip ca-certificates unzip groff less tzdata keyboard-configuration

# podman
RUN echo "deb [trusted=yes] https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/ /" | tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list && \
curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/Release.key | apt-key add - && \
apt-get -y update && apt-get -y install podman && \
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/* && \
ln -s /usr/bin/podman /usr/bin/docker # required by cwltool docker pull even if running with --podman

# install kubectl
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
RUN chmod +x ./kubectl
RUN mv ./kubectl /usr/local/bin

RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && \
chmod +x ./kubectl && \
mv ./kubectl /usr/local/bin

# AWS CLI installation commands
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
Expand Down

0 comments on commit 0f4cc54

Please sign in to comment.