Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
run: uv run make -C docs clean html

- name: GitHub Pages action
if: github.event_name == 'push'
uses: peaceiris/actions-gh-pages@v3.6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
11 changes: 9 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated by Neurodocker and Reproenv.

FROM debian:bullseye-slim
FROM debian:bookworm-slim
ENV LANG="en_US.UTF-8" \
LC_ALL="en_US.UTF-8" \
ND_ENTRYPOINT="/neurodocker/startup.sh"
Expand Down Expand Up @@ -38,6 +38,7 @@ RUN curl -fsSL https://deno.land/install.sh | env DENO_INSTALL=/usr/local sh -s
RUN curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR=/usr/local/bin INSTALLER_NO_MODIFY_PATH=1 sh
ENV UV_LINK_MODE="copy"
ENV UV_PYTHON_INSTALL_DIR="/opt/uv-python"
ENV UV_PYTHON="3.11"
ENV UV_PROJECT_ENVIRONMENT="/home/ffrprep/.venv"
ENV PYTHONDONTWRITEBYTECODE="1"
COPY [".", \
Expand All @@ -61,7 +62,7 @@ RUN printf '{ \
{ \
"name": "from_", \
"kwds": { \
"base_image": "debian:bullseye-slim" \
"base_image": "debian:bookworm-slim" \
} \
}, \
{ \
Expand Down Expand Up @@ -127,6 +128,12 @@ RUN printf '{ \
"UV_PYTHON_INSTALL_DIR": "/opt/uv-python" \
} \
}, \
{ \
"name": "env", \
"kwds": { \
"UV_PYTHON": "3.11" \
} \
}, \
{ \
"name": "env", \
"kwds": { \
Expand Down
11 changes: 9 additions & 2 deletions Singularity.def
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Generated by Neurodocker and Reproenv.

Bootstrap: docker
From: debian:bullseye-slim
From: debian:bookworm-slim

%files
. /home/ffrprep
Expand All @@ -12,6 +12,7 @@ export LC_ALL="en_US.UTF-8"
export ND_ENTRYPOINT="/neurodocker/startup.sh"
export UV_LINK_MODE="copy"
export UV_PYTHON_INSTALL_DIR="/opt/uv-python"
export UV_PYTHON="3.11"
export UV_PROJECT_ENVIRONMENT="/home/ffrprep/.venv"
export PYTHONDONTWRITEBYTECODE="1"
export IS_DOCKER="1"
Expand Down Expand Up @@ -78,7 +79,7 @@ printf '{ \
{ \
"name": "from_", \
"kwds": { \
"base_image": "debian:bullseye-slim" \
"base_image": "debian:bookworm-slim" \
} \
}, \
{ \
Expand Down Expand Up @@ -144,6 +145,12 @@ printf '{ \
"UV_PYTHON_INSTALL_DIR": "/opt/uv-python" \
} \
}, \
{ \
"name": "env", \
"kwds": { \
"UV_PYTHON": "3.11" \
} \
}, \
{ \
"name": "env", \
"kwds": { \
Expand Down
6 changes: 4 additions & 2 deletions generate_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@ INSTALL_GROUP_FLAG="--no-dev"

generate_docker() {
docker run --rm repronim/neurodocker:2.1.1 generate docker \
--base-image debian:bullseye-slim \
--base-image debian:bookworm-slim \
--pkg-manager apt \
--arg DEBIAN_FRONTEND=noninteractive \
--install $OS_PACKAGES \
--run "$DENO_INSTALL" \
--run "$UV_INSTALL" \
--env UV_LINK_MODE=copy \
--env UV_PYTHON_INSTALL_DIR=/opt/uv-python \
--env UV_PYTHON=3.11 \
--env UV_PROJECT_ENVIRONMENT=/home/ffrprep/.venv \
--env PYTHONDONTWRITEBYTECODE=1 \
--copy . /home/ffrprep \
Expand All @@ -48,14 +49,15 @@ generate_docker() {

generate_singularity() {
docker run --rm repronim/neurodocker:2.1.1 generate singularity \
--base-image debian:bullseye-slim \
--base-image debian:bookworm-slim \
--pkg-manager apt \
--arg DEBIAN_FRONTEND=noninteractive \
--install $OS_PACKAGES \
--run "$DENO_INSTALL" \
--run "$UV_INSTALL" \
--env UV_LINK_MODE=copy \
--env UV_PYTHON_INSTALL_DIR=/opt/uv-python \
--env UV_PYTHON=3.11 \
--env UV_PROJECT_ENVIRONMENT=/home/ffrprep/.venv \
--env PYTHONDONTWRITEBYTECODE=1 \
--copy . /home/ffrprep \
Expand Down