Skip to content

Commit b438f92

Browse files
committed
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
1 parent 49fb7ca commit b438f92

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎Dockerfile.alpine‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
FROM alpine:3.20
55
LABEL maintainer="spytheman <spytheman@bulsynt.org>"
66
WORKDIR /opt/vlang
7-
ENV PATH /opt/vlang:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
7+
ENV PATH=/opt/vlang:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
88

99
## install development packages
1010
RUN apk --no-cache add \
1111
musl-dev libc-dev libc6-compat gcompat \
1212
openssl-dev sqlite-dev mbedtls \
1313
libuv-dev libev-dev libevent-dev libmemcached-dev \
14-
binutils diffutils elfutils pcre strace \
14+
binutils diffutils elfutils pcre strace rsync \
1515
libunwind-dev libunwind-static gc gc-dev \
1616
make bash file git upx tmux micro nano nano-syntax \
1717
gcc gdb wasi-sdk \
@@ -46,9 +46,9 @@ RUN if [[ -z "${USE_LOCAL}" ]] ; then \
4646
RUN mkdir -p /tmp/v /tmp/v /home/ && chown -Rh 1000:1000 /opt/ /tmp/ /home/
4747
## setup runtime environment for v and bash:
4848
USER 1000:1000
49-
ENV HOME /home
50-
ENV VTMP /tmp/v
51-
ENV VMODULES /tmp/vmodules
49+
ENV HOME=/home
50+
ENV VTMP=/tmp/v
51+
ENV VMODULES=/tmp/vmodules
5252

5353
RUN make && v -version && ls -la v && \
5454
du -b -s . && \

0 commit comments

Comments
 (0)