jmanhype
commited on
Commit
Β·
b7d1e10
1
Parent(s):
f7baced
fix: use curl instead of wget for VSCode server installation
Browse files
scripts/gradio/Dockerfile
CHANGED
@@ -5,14 +5,18 @@ LABEL MAINTAINER="anchorxia, zhanchao"
|
|
5 |
LABEL Email="[email protected], [email protected]"
|
6 |
LABEL Description="musev gradio image, from docker pull anchorxia/musev:latest"
|
7 |
|
8 |
-
# Set up git config
|
9 |
USER root
|
10 |
-
RUN
|
11 |
-
rm -rf /etc/gitconfig && \
|
12 |
touch /etc/gitconfig && \
|
13 |
chmod 666 /etc/gitconfig && \
|
14 |
git config --system user.email "[email protected]" && \
|
15 |
-
git config --system user.name "jmanhype"
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
# Create necessary directories with proper permissions
|
18 |
RUN mkdir -p /home/user/.config/matplotlib && \
|
|
|
5 |
LABEL Email="[email protected], [email protected]"
|
6 |
LABEL Description="musev gradio image, from docker pull anchorxia/musev:latest"
|
7 |
|
8 |
+
# Set up git config and install VSCode server
|
9 |
USER root
|
10 |
+
RUN rm -rf /etc/gitconfig && \
|
|
|
11 |
touch /etc/gitconfig && \
|
12 |
chmod 666 /etc/gitconfig && \
|
13 |
git config --system user.email "[email protected]" && \
|
14 |
+
git config --system user.name "jmanhype" && \
|
15 |
+
curl -L https://github.com/gitpod-io/openvscode-server/releases/download/openvscode-server-v1.86.2/openvscode-server-v1.86.2-linux-x64.tar.gz -o /tmp/openvscode-server.tar.gz && \
|
16 |
+
tar -xzf /tmp/openvscode-server.tar.gz -C /opt && \
|
17 |
+
rm /tmp/openvscode-server.tar.gz && \
|
18 |
+
mv /opt/openvscode-server-v1.86.2-linux-x64 /opt/openvscode-server && \
|
19 |
+
chown -R 1000:1000 /opt/openvscode-server
|
20 |
|
21 |
# Create necessary directories with proper permissions
|
22 |
RUN mkdir -p /home/user/.config/matplotlib && \
|