Skip to content

Commit

Permalink
Merge pull request #55 from ublue-os/remove-local-repo
Browse files Browse the repository at this point in the history
fix(wolfi): Remove local repository reference
  • Loading branch information
castrojo authored Feb 8, 2024
2 parents b4a0a62 + 6dcf133 commit f8ad109
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions toolboxes/wolfi-toolbox/Containerfile.wolfi
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ LABEL com.github.containers.toolbox="true" \

COPY ./toolboxes/wolfi-toolbox/packages.wolfi /toolbox-packages

# Update image
RUN apk update && \
# Remove local repository and update image
RUN sed -i 's/@local.*//g' /etc/apk/repositories \
apk update && \
apk upgrade

# Add optional packages
Expand Down Expand Up @@ -47,4 +48,4 @@ RUN [ -e /sbin/su-exec ] && \
chmod u+s /sbin/su-exec && \
[ ! -e /usr/bin/sudo ] && \
printf "%s\n%s" '#!/bin/sh' '/sbin/su-exec root "$@"' > /usr/bin/sudo && \
chmod +x /usr/bin/sudo
chmod +x /usr/bin/sudo

0 comments on commit f8ad109

Please sign in to comment.