Skip to content

Commit cedfbf9

Browse files
committed
feat: switch to bookworm debian base image (#1090)
* feat: switch to bookworm debian base image * fix
1 parent 10a6587 commit cedfbf9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/blobplugin/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM registry.k8s.io/build-image/debian-base:bullseye-v1.4.3
15+
FROM registry.k8s.io/build-image/debian-base:bookworm-v1.0.0
1616

1717
ARG ARCH=amd64
1818
ARG binary=./_output/${ARCH}/blobplugin
@@ -29,14 +29,14 @@ RUN chmod +x /blobfuse-proxy/init.sh && \
2929
chmod +x /blobfuse-proxy/blobfuse-proxy
3030

3131
# packages that are only needed by aznfs: procps conntrack iptables bind9-host iproute2 bash netcat sysvinit-utils.
32-
RUN apt update && apt upgrade -y && apt-mark unhold libcap2 && clean-install ca-certificates uuid-dev util-linux mount udev wget e2fsprogs nfs-common netbase procps conntrack iptables bind9-host iproute2 bash netcat sysvinit-utils
32+
RUN apt update && apt upgrade -y && apt-mark unhold libcap2 && clean-install ca-certificates uuid-dev util-linux mount udev wget e2fsprogs nfs-common netbase procps conntrack iptables bind9-host iproute2 bash netcat-traditional sysvinit-utils
3333

3434
# install aznfs
3535
RUN if [ "$ARCH" = "amd64" ] ; then \
3636
wget -O aznfs.tar.gz https://github.com/Azure/AZNFS-mount/releases/download/1.0.8/aznfs-1.0.8-1.x86_64.tar.gz; \
3737
else \
3838
wget -O aznfs.tar.gz https://github.com/Azure/AZNFS-mount/releases/download/1.0.8/aznfs-1.0.8-1.arm64.tar.gz;fi
39-
RUN tar xvzf aznfs.tar.gz -C / && rm aznfs.tar.gz
39+
RUN tar xvzf aznfs.tar.gz -C / --keep-directory-symlink && rm aznfs.tar.gz
4040

4141
RUN if [ "$ARCH" = "amd64" ] ; then \
4242
clean-install libcurl4-gnutls-dev && \

0 commit comments

Comments
 (0)