Archived
1
0

Doc fixes

This commit is contained in:
Anmol Sethi
2020-02-19 00:27:02 -05:00
parent b76364db31
commit 9f3240346c
6 changed files with 34 additions and 8 deletions

View File

@ -33,4 +33,4 @@ RUN rm -rf /var/lib/apt/lists/*
EXPOSE 8080
USER coder
WORKDIR /home/coder
ENTRYPOINT ["dumb-init", "fixuid", "-q", "code-server", "--host=0.0.0.0", "--auth=none"]
ENTRYPOINT ["dumb-init", "fixuid", "-q", "code-server", "--host", "0.0.0.0", "."]

View File

@ -12,12 +12,10 @@ main() {
fi
imageTag="codercom/code-server:$VERSION"
latest="codercom/code-server:latest"
if [[ $TRAVIS_CPU_ARCH == "arm64" ]]; then
if [[ ${TRAVIS_CPU_ARCH:-} == "arm64" ]]; then
imageTag+="-arm64"
latest="codercom/code-server:arm64"
fi
docker build -t "$imageTag" -t "$latest" -f ./ci/release-image/Dockerfile .
docker build -t "$imageTag" -f ./ci/release-image/Dockerfile .
docker push codercom/code-server
}