зеркало из
https://github.com/VIGINUM-FR/D3lta.git
synced 2025-10-29 13:06:10 +02:00
feat(devcontainer): install prebuilt nektos/act executable
- Remove the now-unneeded gh CLI devcontainer feature.
Этот коммит содержится в:
родитель
b8fada79c2
Коммит
1151e21254
@ -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": {}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
Загрузка…
x
Ссылка в новой задаче
Block a user