From b438f9229d9257f0d66263397ec1a7f9de90d341 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sat, 15 Feb 2025 16:10:45 +0200 Subject: [PATCH] Dockerfile.alpine: use the updated ENV syntax to avoid deprecation warning with the official Docker package, add `rsync` too, so the container can be used for running/testing oldv --- Dockerfile.alpine | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile.alpine b/Dockerfile.alpine index a8939ee476..88d88c0aaa 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -4,14 +4,14 @@ FROM alpine:3.20 LABEL maintainer="spytheman " WORKDIR /opt/vlang -ENV PATH /opt/vlang:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +ENV PATH=/opt/vlang:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ## install development packages RUN apk --no-cache add \ musl-dev libc-dev libc6-compat gcompat \ openssl-dev sqlite-dev mbedtls \ libuv-dev libev-dev libevent-dev libmemcached-dev \ - binutils diffutils elfutils pcre strace \ + binutils diffutils elfutils pcre strace rsync \ libunwind-dev libunwind-static gc gc-dev \ make bash file git upx tmux micro nano nano-syntax \ gcc gdb wasi-sdk \ @@ -46,9 +46,9 @@ RUN if [[ -z "${USE_LOCAL}" ]] ; then \ RUN mkdir -p /tmp/v /tmp/v /home/ && chown -Rh 1000:1000 /opt/ /tmp/ /home/ ## setup runtime environment for v and bash: USER 1000:1000 -ENV HOME /home -ENV VTMP /tmp/v -ENV VMODULES /tmp/vmodules +ENV HOME=/home +ENV VTMP=/tmp/v +ENV VMODULES=/tmp/vmodules RUN make && v -version && ls -la v && \ du -b -s . && \