chore: pin archlinux package versions (#48)

* Switch from deprecated archlinux/base to archlinux/archlinux
* Pin a specific base image and repository snapshot, as recent
  versions are inoperable under Coder due to a glibc upgrade
  (https://bugs.archlinux.org/task/69563)
This commit is contained in:
Jonathan Yu 2021-02-17 15:07:30 -08:00 committed by GitHub
parent 98995de6c8
commit ea099c33b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,10 @@
FROM archlinux/base
FROM archlinux/archlinux:base-20210205.0.15146
SHELL ["/bin/bash", "-c"]
# Workaround broken upstream archive by pinning to older snapshot
COPY mirrorlist /etc/pacman.d/mirrorlist
# Install baseline packages
RUN pacman --noconfirm -Syu \
base \

1
images/base/mirrorlist Normal file
View File

@ -0,0 +1 @@
Server=https://archive.archlinux.org/repos/2021/02/01/$repo/os/$arch