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

test/archlinux/Dockerfile is broken #10

Open
buck-yeh opened this issue Jun 3, 2022 · 0 comments
Open

test/archlinux/Dockerfile is broken #10

buck-yeh opened this issue Jun 3, 2022 · 0 comments
Assignees

Comments

@buck-yeh
Copy link
Owner

buck-yeh commented Jun 3, 2022

Dockerfile

> ./docker_build 
Sending build context to Docker daemon  33.28MB
Step 1/10 : FROM archlinux/archlinux
 ---> 3f4d16de804d
Step 2/10 : USER root
 ---> Using cache
 ---> 3d18db5381bf
Step 3/10 : RUN echo $'Server = http://archlinux.cs.nctu.edu.tw/$repo/os/$arch\nServer = http://ftp.tku.edu.tw/Linux/ArchLinux/$repo/os/$arch\n' | tee /etc/pacman.d/mirrorlist &&     if [[ -n "$PACDAY" ]]; then         sed -Ei "s|^Include\s*=.+$|SigLevel = PackageRequired\nServer=https://archive.archlinux.org/repos/$PACDAY/\$repo/os/\$arch|g" /etc/pacman.conf ;     fi &&     sed -Ei 's|^#TotalDownload\s*$|TotalDownload|g' /etc/pacman.conf &&     sed -Ei 's|^#VerbosePkgLists\s*$|VerbosePkgLists|g' /etc/pacman.conf &&     pacman -Sy --needed --noconfirm cmake make gcc git binutils fmt fakeroot sed gawk &&     rm -rf /root/.cache
 ---> Using cache
 ---> d6293db64c75
Step 4/10 : RUN useradd -m guest
 ---> Using cache
 ---> affcccdf0354
Step 5/10 : USER guest
 ---> Using cache
 ---> 067bea616d71
Step 6/10 : RUN  echo $'PS1=\"\\[\\033[01;37m\\]\\D{%m/%d %H:%M:%S} \\[\\033[01;32m\\]\\u@\\h\[\\033[00m\\]:\\[\\033[01;43m\\]\\w\\[\\033[00m\\] \"\nalias ll=\'ls -lF --color=auto --time-style=\"+%y/%m/%d %H:%M:%S\"\'\nexport LANG=en_US.UTF-8\nlocale-gen\n' >> ~/.bashrc
 ---> Using cache
 ---> 5a60055674c8
Step 7/10 : COPY --chown=guest:guest PKGBUILD /home/guest/Duty/
 ---> 0d62b18b0df2
Step 8/10 : RUN  cd ~/Duty &&      makepkg -s
 ---> Running in ea24e73afc5c
==> WARNING: Cannot find the sudo binary. Will use su to acquire root privileges.
==> Making package: parsergen 1.7.2-1 (Fri 03 Jun 2022 06:20:27 AM UTC)
==> Checking runtime dependencies...
warning: config file /etc/pacman.conf, line 34: directive 'TotalDownload' in section 'options' not recognized.
==> Checking buildtime dependencies...
warning: config file /etc/pacman.conf, line 34: directive 'TotalDownload' in section 'options' not recognized.
==> Retrieving sources...
==> Extracting sources...
==> Starting prepare()...
git: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by git)
==> ERROR: A failure occurred in prepare().
    Aborting...
Removing intermediate container ea24e73afc5c
The command '/bin/sh -c cd ~/Duty &&      makepkg -s' returned a non-zero code: 4
@buck-yeh buck-yeh self-assigned this Jun 3, 2022
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

No branches or pull requests

1 participant