Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert glibc patch when applicable. #159

Closed
wants to merge 2 commits into from
Closed

Conversation

sickcodes
Copy link
Owner

We currently have a dirty fix that looks like this:

# TEMP-FIX for pacman issue
RUN patched_glibc=glibc-linux4-2.33-4-x86_64.pkg.tar.zst \
    && curl -LO "https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/${patched_glibc}" \
    && bsdtar -C / -xvf "${patched_glibc}" || echo "Everything is fine."
# TEMP-FIX for pacman issue

This PR is just a reminder to repeat build tests until it's fixed upstream as noted:

#144

#150

#152

@sickcodes sickcodes mentioned this pull request Mar 10, 2021
Repository owner deleted a comment from Cranmmo Mar 17, 2021
Repository owner deleted a comment from Cranmmo Mar 17, 2021
@sickcodes
Copy link
Owner Author

Regular testing until @docker fixes this issue:

git clone https://github.com/sickcodes/Docker-OSX.git
cd Docker-OSX
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
git cherry-pick b79f26a50877673890dabbce2552252d75b4c03e
git commit -m "TEST GLIBC FIX GONE"
docker build -t docker-osx .

FAIL

Step 10/53 : RUN pacman -Syu git zip vim nano alsa-utils openssh --noconfirm     && ln -s /bin/vim /bin/vi     && useradd arch -p arch     && tee -a /etc/sudoers <<< 'arch ALL=(ALL) NOPASSWD: ALL'     && mkdir /home/arch     && chown arch:arch /home/arch
 ---> Running in 3b2e9009f196
error: failed to initialize alpm library
(could not find or read directory: /var/lib/pacman/)
The command '/bin/bash -c pacman -Syu git zip vim nano alsa-utils openssh --noconfirm     && ln -s /bin/vim /bin/vi     && useradd arch -p arch     && tee -a /etc/sudoers <<< 'arch ALL=(ALL) NOPASSWD: ALL'     && mkdir /home/arch     && chown arch:arch /home/arch' returned a non-zero code: 255

@sickcodes
Copy link
Owner Author

New version: #321

@sickcodes sickcodes closed this Jul 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants