Skip to content

Commit 7469a36

Browse files
authored
Merge pull request #2284 from FCP-INDI/fix/check_s3-version
⏪️ Revert "[pre-commit.ci] auto fixes from pre-commit.com hooks (651cfa5)"
2 parents 613f1e8 + 9e433d4 commit 7469a36

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

.github/Dockerfiles/C-PAC.develop-jammy.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# You should have received a copy of the GNU Lesser General Public
1616
# License along with C-PAC. If not, see <https://www.gnu.org/licenses/>.
17-
FROM ghcr.io/fcp-indi/c-pac/stage-base:standard-v1.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev1
17+
FROM ghcr.io/fcp-indi/c-pac/stage-base:standard-v1.8.8.dev1
1818
LABEL org.opencontainers.image.description="Full C-PAC image"
1919
LABEL org.opencontainers.image.source=https://github.com/FCP-INDI/C-PAC
2020
USER root
@@ -42,7 +42,7 @@ RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/.cache/* \
4242
&& apt-get autoremove -y \
4343
&& ldconfig \
4444
&& chmod 777 / \
45-
&& chmod 777 $(ls / | grep -v1.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev1 sys | grep -v1.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev1 proc)
45+
&& chmod 777 $(ls / | grep -v sys | grep -v proc)
4646
ENV PYTHONUSERBASE=/home/c-pac_user/.local
4747
ENV PATH=$PATH:/home/c-pac_user/.local/bin \
4848
PYTHONPATH=$PYTHONPATH:$PYTHONUSERBASE/lib/python3.10/site-packages \

.github/Dockerfiles/C-PAC.develop-lite-jammy.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# You should have received a copy of the GNU Lesser General Public
1616
# License along with C-PAC. If not, see <https://www.gnu.org/licenses/>.
17-
FROM ghcr.io/fcp-indi/c-pac/stage-base:lite-v1.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev1
17+
FROM ghcr.io/fcp-indi/c-pac/stage-base:lite-v1.8.8.dev1
1818
LABEL org.opencontainers.image.description="Full C-PAC image without FreeSurfer"
1919
LABEL org.opencontainers.image.source=https://github.com/FCP-INDI/C-PAC
2020
USER root
@@ -43,7 +43,7 @@ RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/.cache/* \
4343
&& apt-get autoremove -y \
4444
&& ldconfig \
4545
&& chmod 777 / \
46-
&& chmod 777 $(ls / | grep -v1.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev1 sys | grep -v1.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev1 proc)
46+
&& chmod 777 $(ls / | grep -v sys | grep -v proc)
4747
ENV PYTHONUSERBASE=/home/c-pac_user/.local
4848
ENV PATH=$PATH:/home/c-pac_user/.local/bin \
4949
PYTHONPATH=$PYTHONPATH:$PYTHONUSERBASE/lib/python3.10/site-packages \

.github/Dockerfiles/base-standard.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# License along with C-PAC. If not, see <https://www.gnu.org/licenses/>.
1717
FROM ghcr.io/fcp-indi/c-pac/freesurfer:6.0.0-min.neurodocker-jammy AS freesurfer
1818

19-
FROM ghcr.io/fcp-indi/c-pac/stage-base:lite-v1.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev1
19+
FROM ghcr.io/fcp-indi/c-pac/stage-base:lite-v1.8.8.dev1
2020
LABEL org.opencontainers.image.description="NOT INTENDED FOR USE OTHER THAN AS A STAGE IMAGE IN A MULTI-STAGE BUILD \
2121
Standard software dependencies for C-PAC standard images"
2222
LABEL org.opencontainers.image.source=https://github.com/FCP-INDI/C-PAC
@@ -56,7 +56,7 @@ RUN apt-get autoremove -y \
5656
&& rm -rf results.txt \
5757
&& ldconfig \
5858
&& chmod 777 / /home/c-pac_user \
59-
&& chmod 777 $(ls / | grep -v1.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev1 sys | grep -v1.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev1 proc)
59+
&& chmod 777 $(ls / | grep -v sys | grep -v proc)
6060

6161
# set user
6262
USER c-pac_user

CPAC/anat_preproc/ants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"""
4444

4545
from collections import OrderedDict
46-
from importlib.resources import as_file, files
46+
from importlib.resources import files
4747
from logging import getLogger
4848
from typing import Literal
4949

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# You should have received a copy of the GNU Lesser General Public
1616
# License along with C-PAC. If not, see <https://www.gnu.org/licenses/>.
17-
FROM ghcr.io/fcp-indi/c-pac/stage-base:standard-v1.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev1
17+
FROM ghcr.io/fcp-indi/c-pac/stage-base:standard-v1.8.8.dev1
1818
LABEL org.opencontainers.image.description="Full C-PAC image"
1919
LABEL org.opencontainers.image.source=https://github.com/FCP-INDI/C-PAC
2020
USER root
@@ -42,7 +42,7 @@ RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/.cache/* \
4242
&& apt-get autoremove -y \
4343
&& ldconfig \
4444
&& chmod 777 / \
45-
&& chmod 777 $(ls / | grep -v1.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev1 sys | grep -v1.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev1 proc)
45+
&& chmod 777 $(ls / | grep -v sys | grep -v proc)
4646
ENV PYTHONUSERBASE=/home/c-pac_user/.local
4747
ENV PATH=$PATH:/home/c-pac_user/.local/bin \
4848
PYTHONPATH=$PYTHONPATH:$PYTHONUSERBASE/lib/python3.10/site-packages \

variant-lite.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# You should have received a copy of the GNU Lesser General Public
1616
# License along with C-PAC. If not, see <https://www.gnu.org/licenses/>.
17-
FROM ghcr.io/fcp-indi/c-pac/stage-base:lite-v1.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev1
17+
FROM ghcr.io/fcp-indi/c-pac/stage-base:lite-v1.8.8.dev1
1818
LABEL org.opencontainers.image.description="Full C-PAC image without FreeSurfer"
1919
LABEL org.opencontainers.image.source=https://github.com/FCP-INDI/C-PAC
2020
USER root
@@ -43,7 +43,7 @@ RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/.cache/* \
4343
&& apt-get autoremove -y \
4444
&& ldconfig \
4545
&& chmod 777 / \
46-
&& chmod 777 $(ls / | grep -v1.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev1 sys | grep -v1.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev11.8.8.dev1 proc)
46+
&& chmod 777 $(ls / | grep -v sys | grep -v proc)
4747
ENV PYTHONUSERBASE=/home/c-pac_user/.local
4848
ENV PATH=$PATH:/home/c-pac_user/.local/bin \
4949
PYTHONPATH=$PYTHONPATH:$PYTHONUSERBASE/lib/python3.10/site-packages \

0 commit comments

Comments
 (0)