Skip to content

feat: add blobfuse-proxy deb package in driver image #524

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

Merged
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
2 changes: 1 addition & 1 deletion deploy/blobfuse-proxy/blobfuse-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ spec:
sleep 3s
# tail blobfuse proxy logs
journalctl -u blobfuse-proxy -f
image: mcr.microsoft.com/oss/nginx/nginx:1.17.3-alpine
image: mcr.microsoft.com/k8s/csi/blob-csi:latest
imagePullPolicy: IfNotPresent
name: sysctl-install-blobfuse-proxy
env:
Expand Down
33 changes: 0 additions & 33 deletions pkg/blobfuse-proxy/Dockerfile

This file was deleted.

5 changes: 4 additions & 1 deletion pkg/blobplugin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ FROM k8s.gcr.io/build-image/debian-base:bullseye-v1.0.0
COPY ./_output/blobplugin /blobplugin
RUN apt update && apt-mark unhold libcap2
RUN clean-install ca-certificates libfuse-dev libcurl4-gnutls-dev libgnutls28-dev uuid-dev libgcrypt20-dev util-linux mount udev wget e2fsprogs nfs-common libssl1.1
RUN wget -O /tmp/packages-microsoft-prod.deb https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb && dpkg -i /tmp/packages-microsoft-prod.deb && apt-get update && apt install blobfuse fuse -y && rm -f /tmp/packages-microsoft-prod.deb
RUN mkdir /blobfuse-proxy/
COPY deploy/blobfuse-proxy/v0.1.0/blobfuse-proxy-v0.1.0.deb /blobfuse-proxy/
RUN wget -O /blobfuse-proxy/packages-microsoft-prod.deb https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
RUN dpkg -i /blobfuse-proxy/packages-microsoft-prod.deb && apt update && apt install blobfuse fuse -y
# this is a workaround to install nfs-kernel-server and don't quit with error
RUN apt install nfs-kernel-server -y || true
RUN apt remove wget -y
Expand Down