Skip to content

Commit

Permalink
podman added
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrauzzi committed Apr 7, 2023
1 parent a8f9613 commit 86cdef9
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,16 @@ FROM jupyter/base-notebook:python-3.7.6

USER root

RUN apt-get -y update && apt-get -y install curl && rm -rf /var/lib/apt/lists/*
RUN apt-get -y update && \
apt-get -y install curl python3-pip ca-certificates

# 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/*

# 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

0 comments on commit 86cdef9

Please sign in to comment.