diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile deleted file mode 100644 index 7abfe89495..0000000000 --- a/.gitpod.Dockerfile +++ /dev/null @@ -1,12 +0,0 @@ -FROM gitpod/workspace-full:2023-05-08-21-16-55 - -# Some datasets work on 3.8 only -RUN pyenv install 3.8.15\ - && pyenv global 3.8.15 - -# VideoDataset -RUN sudo apt-get update && sudo apt-get install -y --no-install-recommends libgl1 -RUN sudo apt-get install make -# https://stackoverflow.com/questions/69564238/puppeteer-error-failed-to-launch-the-browser-process -# https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#chrome-doesnt-launch-on-linux -RUN sudo apt-get install -y --no-install-recommends libatk-bridge2.0-0 libcups2 ca-certificates fonts-liberation libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils diff --git a/.gitpod.yml b/.gitpod.yml index 89a383da40..9b5891aac7 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,21 +1,26 @@ -image: - file: .gitpod.Dockerfile +image: gitpod/workspace-python-3.11 + tasks: - name: kedro init: | make sign-off - pip install -e /workspace/kedro[test] + pip install uv + uv venv + source .venv/bin/activate + uv pip install -e /workspace/kedro[test] cd /workspace kedro new --name project -s spaceflights-pandas --checkout main - pip install -e project + uv pip install -e project cd /workspace/kedro pre-commit install --install-hooks command: | clear + source .venv/bin/activate kedro info + github: prebuilds: # enable for the master/default branch (defaults to true)