Skip to content

Commit

Permalink
base: Add rootless kit installer
Browse files Browse the repository at this point in the history
Signed-off-by: Suraj Deshmukh <suraj.deshmukh@microsoft.com>
  • Loading branch information
surajssd committed Oct 22, 2024
1 parent cd63aa8 commit edd6a41
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 edd6a41

Please sign in to comment.