Skip to content

Commit

Permalink
Merge pull request #501 from surajssd/add-rootless-kit-installer
Browse files Browse the repository at this point in the history
base: Add rootless kit installer
  • Loading branch information
surajssd authored Oct 23, 2024
2 parents cd63aa8 + edd6a41 commit a05861a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 13 additions & 1 deletion linux/base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -215,4 +215,16 @@ RUN curl -fsSL https://aka.ms/install-azd.sh | bash && \
# Add soft links
#
ln -s /usr/bin/python3 /usr/bin/python && \
ln -s /usr/bin/node /usr/bin/nodejs
ln -s /usr/bin/node /usr/bin/nodejs && \
#
# Install rootless kit
TMP_DIR=$(mktemp -d) && \
pushd $TMP_DIR && \
ROOTLESSKIT_VERSION=$(curl https://api.github.com/repos/rootless-containers/rootlesskit/releases/latest | jq -r '.tag_name') && \
curl -LO https://github.com/rootless-containers/rootlesskit/releases/download/${ROOTLESSKIT_VERSION}/rootlesskit-x86_64.tar.gz && \
curl -LO https://github.com/rootless-containers/rootlesskit/releases/download/${ROOTLESSKIT_VERSION}/SHA256SUMS && \
sha256sum -c SHA256SUMS --ignore-missing && \
tar -xf rootlesskit-x86_64.tar.gz && \
cp rootlesskit rootlesskit-docker-proxy /usr/bin/ && \
popd && \
rm -rf $TMP_DIR
2 changes: 2 additions & 0 deletions tests/command_list
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,8 @@ roff2pdf
roff2ps
roff2text
roff2x
rootlesskit
rootlesskit-docker-proxy
route
routef
routel
Expand Down

0 comments on commit a05861a

Please sign in to comment.