Spaces:
Runtime error
Runtime error
File size: 1,264 Bytes
083b04e 563c8c2 d01c8ab 563c8c2 d01c8ab 563c8c2 e4a7c36 563c8c2 464d3aa 9ef20f8 6365ba8 6c20f66 e8e448c 563c8c2 eea5b59 9ef20f8 e4a7c36 563c8c2 464d3aa 62b1bd7 94725f5 e018d2b e4a7c36 563c8c2 7aad264 c425618 7aad264 c425618 563c8c2 da76ea3 083b04e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | # FROM nvidia/cuda:11.3.1-base-ubuntu20.04
# kics-scan disable=67fd0c4a-68cf-46d7-8c41-bc9fba7e40ae,965a08d7-ef86-4f14-8792-4a3b2098937e
FROM ubuntu:23.10
# hadolint ignore=DL3008
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive && apt-get install -y --no-install-recommends \
# support env timezones
tzdata \
# vscode requirements
gnome-keyring wget curl python3-minimal ca-certificates \
# development tools
git build-essential \
# clean up
&& apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*
# install vscode-server
# hadolint ignore=DL4006
# RUN wget -q -O- https://aka.ms/install-vscode-server/setup.sh | sh
COPY vscode_cli_alpine_x64_cli.tar.gz .
# RUN curl -Lk --noproxy 'https://code.visualstudio.com/sha/download?build=stable&os=cli-alpine-x64' --output vscode_cli.tar.gz \
RUN tar -xf vscode_cli_alpine_x64_cli.tar.gz
# copy scripts
RUN cp code /usr/bin/ && chmod +x /usr/bin/code
RUN chmod +x code
# entrypoint
# ENTRYPOINT [ "start-vscode" ]
# RUN echo *
# ENTRYPOINT ["out=$(code tunnel --accept-server-license-terms) && echo $out"]
CMD ["/usr/bin/code tunnel --accept-server-license-terms"]
# hadolint ignore=DL3002
# USER root
# HEALTHCHECK NONE
# expose port
EXPOSE 7860 8000
# EXPOSE 8000 |