Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base: Add rootless kit installer #501

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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') && \
surajssd marked this conversation as resolved.
Show resolved Hide resolved
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 && \
surajssd marked this conversation as resolved.
Show resolved Hide resolved
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
Loading