Skip to content

Commit

Permalink
use /opt/ instead of /etc/ for binary storage
Browse files Browse the repository at this point in the history
  • Loading branch information
Hades32 authored and medvednikov committed Jul 26, 2019
1 parent 3850227 commit 80ec11e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
FROM buildpack-deps:buster-curl

LABEL maintainer="ANAGO Ronnel <anagoandy@gmail.com>"
WORKDIR /etc/vlang
WORKDIR /opt/vlang
RUN apt-get -yq update && \
apt-get install -y --no-install-recommends gcc clang make && \
rm -rf /var/lib/apt/lists/*
COPY . .
RUN make && \
ln -s /etc/vlang/v /usr/local/bin/v
ln -s /opt/vlang/v /usr/local/bin/v

CMD [ "bash" ]

0 comments on commit 80ec11e

Please sign in to comment.