Open Remi-Gau opened 8 months ago
hmm something is wrong with how the template is being rendered. the jq template specifies dependencies like gcc and make, but that 'apt install' command isn't being added to the dockerfile... did anything change recently that could cause this?
here is the "source" portion of the jq template https://github.com/ReproNim/neurodocker/blob/1a3b49dc6de71fedea503b1d922088d195c426c3/neurodocker/templates/jq.yaml#L21-L50
command to reproduce issue:
sudo docker run --rm repronim/neurodocker:latest generate docker -p apt -b debian --jq version=1.6 method=source
resulting dockerfile (doesn't include an apt-get install
section for gcc and make etc.
# Generated by Neurodocker and Reproenv.
FROM debian
RUN mkdir jq \
&& cd jq \
&& curl -fsSL https://github.com/stedolan/jq/releases/download/jq-1.6/jq-1.6.tar.gz \
| tar xz --strip-components 1 \
&& autoreconf -fi \
&& ./configure --disable-maintainer-mode \
&& make \
&& make install
# Save specification to JSON.
RUN printf '{ \
"pkg_manager": "apt", \
"existing_users": [ \
"root" \
], \
"instructions": [ \
{ \
"name": "from_", \
"kwds": { \
"base_image": "debian" \
} \
}, \
{ \
"name": "run", \
"kwds": { \
"command": "mkdir jq\\ncd jq\\ncurl -fsSL https://github.com/stedolan/jq/releases/download/jq-1.6/jq-1.6.tar.gz \\\\\\n| tar xz --strip-components 1\\nautoreconf -fi \\n./configure --disable-maintainer-mode\\nmake\\nmake install" \
} \
} \
] \
}' > /.reproenv.json
# End saving to specification to JSON.