Skip to content

Commit

Permalink
Merge pull request #41 from ublue-os/m2Giles-patch-1
Browse files Browse the repository at this point in the history
chore: don't hardcode line numbers
  • Loading branch information
castrojo authored Feb 2, 2024
2 parents 2cee5ac + 0c11218 commit 7ab6b72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions toolboxes/bluefin-cli/Containerfile.bluefin-cli
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ RUN apk update && \
rm /toolbox-packages

# Patch /usr/bin/entrypoint
RUN sed -i '349,489 s/^/#/' /usr/bin/entrypoint && \
sed -i '499,1355 s/^/#/' /usr/bin/entrypoint && \
sed -i '1357 s/^/#/' /usr/bin/entrypoint
RUN sed -i '/missing_packages=0/,/# Workaround for when sudo is missing,/ s/^/#/' /usr/bin/entrypoint && \
sed -i '/elif command -v apt-get/,/# Set SHELL to the install path inside the container/ s/^/#/' /usr/bin/entrypoint && \
sed -i '/# Set SHELL to the install path inside the container/a touch /.containersetupdone' /usr/bin/entrypoint

# Use and configure bash, retrieve bash-prexec
RUN curl https://raw.githubusercontent.com/rcaloras/bash-preexec/master/bash-preexec.sh -o /tmp/bash-prexec && \
Expand Down

0 comments on commit 7ab6b72

Please sign in to comment.