diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 8371188..8d3354b 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,10 +1,10 @@ FROM mcr.microsoft.com/vscode/devcontainers/python:3.13 USER vscode RUN curl -s "https://get.sdkman.io" | bash -SHELL ["/bin/bash", "-c"] -RUN source "/home/vscode/.sdkman/bin/sdkman-init.sh" && sdk install java 25-graalce +RUN bash -c "source $HOME/.sdkman/bin/sdkman-init.sh && \ + sdk install java 25-graalce" RUN mkdir -p ~/lib && cd ~/lib && curl -L -O http://www.antlr.org/download/antlr-4.13.2-complete.jar -ENV ANTLR_JAR="~/lib/antlr-4.13.1-complete.jar" +ENV ANTLR_JAR="~/lib/antlr-4.13.2-complete.jar" # protoc 29.5 is the last version with protobuf python v5 which is compatible with protoletariat v3 RUN cd ~ && curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v29.5/protoc-29.5-linux-x86_64.zip && \ unzip protoc-29.5-linux-x86_64.zip -d ~/.local && \ diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 43c4646..6dd4da6 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -2,8 +2,7 @@ "name": "substrait-python-devcontainer", "build": { "context": "..", - "dockerfile": "Dockerfile", - "options": ["--format=docker"] + "dockerfile": "Dockerfile" }, // Features to add to the dev container. More info: https://containers.dev/features.