Skip to content

Commit

Permalink
generate for any version and progress snapshot date to yesterday
Browse files Browse the repository at this point in the history
prior attempt failed since snapshot.d.o failed to provide one package
  • Loading branch information
yarikoptic committed Dec 25, 2022
1 parent ed954ea commit eb4e7f8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated by: Neurodocker version 0.7.0+0.gdc97516.dirty
# Latest release: Neurodocker version 0.9.1
# Timestamp: 2022/11/22 13:41:54 UTC
# Timestamp: 2022/12/25 17:07:25 UTC
#
# Thank you for using Neurodocker. If you discover any issues
# or ways to improve this software, please submit an issue or
Expand All @@ -16,7 +16,7 @@ ARG DEBIAN_FRONTEND="noninteractive"

RUN apt-get update -qq \
&& apt-get install -y -q --no-install-recommends neurodebian-freeze \
&& nd_freeze 20221122T060506Z \
&& nd_freeze 20221224 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

Expand Down Expand Up @@ -117,7 +117,7 @@ RUN echo '{ \
\n [ \
\n "ndfreeze", \
\n { \
\n "date": "20221122T060506Z" \
\n "date": "20221224" \
\n } \
\n ], \
\n [ \
Expand Down
6 changes: 3 additions & 3 deletions Singularity
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated by: Neurodocker version 0.7.0+0.gdc97516.dirty
# Latest release: Neurodocker version 0.9.1
# Timestamp: 2022/11/22 13:42:00 UTC
# Timestamp: 2022/12/25 17:07:26 UTC
#
# Thank you for using Neurodocker. If you discover any issues
# or ways to improve this software, please submit an issue or
Expand All @@ -14,7 +14,7 @@ From: neurodebian:bullseye
%post
apt-get update -qq
apt-get install -y -q --no-install-recommends neurodebian-freeze
nd_freeze 20221122T060506Z
nd_freeze 20221224
apt-get clean
rm -rf /var/lib/apt/lists/*

Expand Down Expand Up @@ -110,7 +110,7 @@ echo '{
\n [
\n "ndfreeze",
\n {
\n "date": "20221122T060506Z"
\n "date": "20221224"
\n }
\n ],
\n [
Expand Down
9 changes: 1 addition & 8 deletions generate_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ generate() {
#ndversion=master
docker run --rm repronim/neurodocker:$ndversion generate "$1" \
--base=neurodebian:bullseye \
--ndfreeze date=20221122T060506Z \
--ndfreeze date=20221224 \
--pkg-manager=apt \
--install vim wget strace time ncdu gnupg curl procps datalad pigz less tree \
git-annex-standalone python3-nibabel \
Expand All @@ -41,10 +41,3 @@ generate() {

generate docker > Dockerfile
generate singularity > Singularity

if [ "$dev_build" != "1" ] && echo $version | grep -e '-g'; then
echo "ERROR: Evil Yarik disabled updates of the containers without releases"
echo " So this command will 'fail', and if output is alright, reset, tag "
echo " (should match frozen version of heudiconv) and redo"
exit 1
fi

0 comments on commit eb4e7f8

Please sign in to comment.