Skip to content

Commit 6e9d2ed

Browse files
authored
Fix codespace prebuild (lancedb#485)
1 parent 2916d9c commit 6e9d2ed

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.devcontainer/Dockerfile

+3-7
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ FROM ubuntu:22.04
33
ENV DEBIAN_FRONTEND=noninteractive
44

55
RUN apt update -y \
6-
&& apt install -y -qq cmake g++ curl git ca-certificates lsb-release wget \
7-
&& wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb \
8-
&& apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb \
9-
&& apt -y update \
10-
&& apt install -y -qq libarrow-dev libarrow-dataset-dev libparquet-dev libarrow-python-dev \
11-
&& apt-get -y clean \
12-
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
6+
&& apt-get -y install curl \
7+
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
8+
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"customizations": {
66
"vscode": {
77
"extensions": [
8-
"ms-vscode.cpptools-extension-pack"
8+
"rust-lang.rust-analyzer"
99
]
1010
}
1111
}

0 commit comments

Comments
 (0)