Skip to content

Commit

Permalink
Merge pull request #109 from nmfs-opensci/eeholmes-patch-2
Browse files Browse the repository at this point in the history
fix apt.txt in child
  • Loading branch information
eeholmes authored Oct 28, 2024
2 parents 708007e + 3a94df4 commit 3fac6fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion appendix
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ ONBUILD RUN echo "Checking for 'apt.txt'..." \
; [ -d binder ] && cd binder \
; [ -d .binder ] && cd .binder \
; if test -f "apt.txt" ; then \
package_list=$(grep -v '^\s*#' ${REPO_DIR}/apt-extras.txt | grep -v '^\s*$' | sed 's/\r//g; s/#.*//; s/^[[:space:]]*//; s/[[:space:]]*$//' | awk '{$1=$1};1') \
package_list=$(grep -v '^\s*#' apt.txt | grep -v '^\s*$' | sed 's/\r//g; s/#.*//; s/^[[:space:]]*//; s/[[:space:]]*$//' | awk '{$1=$1};1') \
&& apt-get update --fix-missing > /dev/null \
&& apt-get install --yes --no-install-recommends $package_list \
&& apt-get autoremove --purge \
Expand Down

0 comments on commit 3fac6fa

Please sign in to comment.