feat(devcontainer): install prebuilt nektos/act executable

- Remove the now-unneeded gh CLI devcontainer feature.
Этот коммит содержится в:
Viginum-DataScientist-6 2025-07-30 13:38:26 +00:00 коммит произвёл Viginum-DataScientist-1
родитель b8fada79c2
Коммит 1151e21254
2 изменённых файлов: 10 добавлений и 5 удалений

Просмотреть файл

@ -19,7 +19,7 @@ RUN pipx install poetry==${POETRY_VERSION}
WORKDIR /app WORKDIR /app
COPY pyproject.toml poetry.lock setup.py README.md ./ COPY pyproject.toml poetry.lock setup.py README.md ./
# pre-install dependencies # pre-install dependencies
RUN --mount=type=cache,target=/root/.cache poetry install --no-root RUN --mount=type=cache,target=/root/.cache poetry install --no-root
COPY notebooks /app/notebooks/ COPY notebooks /app/notebooks/
COPY d3lta /app/d3lta/ COPY d3lta /app/d3lta/
@ -27,4 +27,8 @@ RUN --mount=type=cache,target=/root/.cache poetry install
FROM d3lta-prod AS d3lta-dev FROM d3lta-prod AS d3lta-dev
RUN --mount=type=cache,target=/root/.cache poetry install --with dev RUN --mount=type=cache,target=/root/.cache poetry install --with dev
# install nektos/act as specified in https://nektosact.com/installation/index.html#bash-script
# the -b flag specifies the target directory (cf. https://github.com/nektos/act/blob/61396d8085a9d812cebf94fa954f5938d48bf2b9/install.sh#L13)
RUN curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash -s -- -b /usr/bin

Просмотреть файл

@ -11,6 +11,7 @@
] ]
} }
}, },
// Features to add to the dev container. More info: https://containers.dev/features. "features": {
// "features": {} "ghcr.io/devcontainers/features/docker-in-docker:2": {}
} }
}