Archived
1
0

Another fix for the Dockerfile and build (#188)

* Dockerfile: fix

ENTRYPOINT must be provided in exec form for args
from docker run to be passed correctly.

See https://docs.docker.com/engine/reference/builder/#cmd

* build: fix reuse of vscode repository regression

See #167
This commit is contained in:
Anmol Sethi
2019-03-11 10:47:41 -04:00
committed by Kyle Carberry
parent a36476df21
commit 03c0bde3a9
2 changed files with 9 additions and 4 deletions

View File

@ -28,5 +28,4 @@ RUN apt-get install -y locales && \
# We unfortunately cannot use update-locale because docker will not use the env variables
# configured in /etc/default/locale so we need to set it manually.
ENV LANG=en_US.UTF-8
ENTRYPOINT code-server
CMD ["."]
ENTRYPOINT ["code-server"]