14 lines
417 B
Docker
14 lines
417 B
Docker
# This is the dockerfile for generating base images for Alpine
|
|
# contains the minimal dependencies needed for V to run
|
|
FROM alpine:latest
|
|
|
|
WORKDIR /opt/vlang
|
|
|
|
ENV VVV /opt/vlang
|
|
ENV PATH /opt/vlang:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
|
|
RUN mkdir -p /opt/vlang && ln -s /opt/vlang/v /usr/bin/v
|
|
|
|
RUN apk update && \
|
|
# Default base depenencies
|
|
apk add --no-cache openssl-dev sqlite-dev
|