diff --git a/src/fabric-runtime/.devcontainer/1.2/Dockerfile b/src/fabric-runtime/.devcontainer/1.2/Dockerfile deleted file mode 100644 index d61b3ef..0000000 --- a/src/fabric-runtime/.devcontainer/1.2/Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -# Bullseye contains JDK 11 in its apt repos -FROM mcr.microsoft.com/devcontainers/python:1-3.10-bullseye - -RUN apt-get update && \ - apt-get install -y \ - bash-completion \ - openjdk-11-jdk-headless - -COPY requirements.txt /tmp/requirements.txt -RUN pip install --requirement /tmp/requirements.txt diff --git a/src/fabric-runtime/.devcontainer/1.2/requirements.in b/src/fabric-runtime/.devcontainer/1.2/requirements.in deleted file mode 100644 index 89a69a3..0000000 --- a/src/fabric-runtime/.devcontainer/1.2/requirements.in +++ /dev/null @@ -1,7 +0,0 @@ -pip-tools -requests - -# Matching the Runtime 1.2 in Fabric -# https://learn.microsoft.com/en-us/fabric/data-engineering/runtime-1-2 -pyspark==3.4.1 -delta-spark==2.4.0 diff --git a/src/fabric-runtime/.devcontainer/1.2/requirements.txt b/src/fabric-runtime/.devcontainer/1.2/requirements.txt deleted file mode 100644 index e81ca41..0000000 --- a/src/fabric-runtime/.devcontainer/1.2/requirements.txt +++ /dev/null @@ -1,50 +0,0 @@ -# -# This file is autogenerated by pip-compile with Python 3.10 -# by the following command: -# -# pip-compile -# -build==1.2.1 - # via pip-tools -certifi==2024.6.2 - # via requests -charset-normalizer==3.3.2 - # via requests -click==8.1.7 - # via pip-tools -delta-spark==2.4.0 - # via -r requirements.in -idna==3.7 - # via requests -importlib-metadata==7.1.0 - # via delta-spark -packaging==24.0 - # via build -pip-tools==7.4.1 - # via -r requirements.in -py4j==0.10.9.7 - # via pyspark -pyproject-hooks==1.1.0 - # via - # build - # pip-tools -pyspark==3.4.1 - # via - # -r requirements.in - # delta-spark -requests==2.32.3 - # via -r requirements.in -tomli==2.0.1 - # via - # build - # pip-tools -urllib3==2.2.1 - # via requests -wheel==0.43.0 - # via pip-tools -zipp==3.19.2 - # via importlib-metadata - -# The following packages are considered to be unsafe in a requirements file: -# pip -# setuptools diff --git a/src/fabric-runtime/.devcontainer/devcontainer.json b/src/fabric-runtime/.devcontainer/devcontainer.json index 8b3c55c..3e80b78 100644 --- a/src/fabric-runtime/.devcontainer/devcontainer.json +++ b/src/fabric-runtime/.devcontainer/devcontainer.json @@ -1,17 +1,4 @@ { "name": "Fabric Runtime ${templateOption:imageVariant}", - "build": { - // "dockerfile": "${templateOption:imageVariant}/Dockerfile" - "dockerfile": "1.2/Dockerfile" - } - // "image": "mcr.microsoft.com/devcontainers/python:1-3.10-bookworm", // Matching Fabric Runtime 1.2 - // "features": { - // "ghcr.io/devcontainers/features/java:1": { - // "version": "11" // Matching Fabric Runtime 1.2 - // }, - // "ghcr.io/devcontainers-contrib/features/apt-packages:1": { - // "packages": "bash-completion" - // } - // }, - // "onCreateCommand": "pip install --user --requirement .devcontainer/requirements.txt", + "image": "ghcr.io/e-gineering/devcontainer-images/fabric-runtime:${templateOption:imageVariant}" }