chore: remove support for arch images (#161)

This commit is contained in:
Cian Johnston 2022-05-18 09:09:38 +01:00 committed by GitHub
parent b197270c7a
commit 8f937ea980
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 51 deletions

View File

@ -64,7 +64,6 @@ jobs:
strategy:
matrix:
job:
- arch
- centos
- ubuntu
fail-fast: false

View File

@ -1,48 +0,0 @@
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 -Syyuu \
base \
base-devel \
bash \
ca-certificates \
curl \
docker \
git \
htop \
man \
openssh \
python3 \
sudo \
unzip \
vim \
wget && \
# Delete package cache to avoid consuming space in layer
pacman --noconfirm -Scc
# Enables Docker starting with systemd
RUN systemctl enable docker
# Add docker-compose
RUN curl -L "https://github.com/docker/compose/releases/download/v2.5.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
RUN chmod +x /usr/local/bin/docker-compose
# Add coder user.
RUN useradd coder \
--create-home \
--shell=/bin/bash \
--groups=docker \
--uid=1000 \
--user-group && \
echo "coder ALL=(ALL) NOPASSWD:ALL" >>/etc/sudoers.d/nopasswd
USER coder
# install Homebrew, must be as a non-root user
RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
ENV PATH /home/linuxbrew/.linuxbrew/bin:${PATH}

View File

@ -25,7 +25,7 @@ function usage() {
echo " --dry-run Show commands that would run, but"
echo " do not run them"
echo " --tag=<tag> Select an image tag group to build,"
echo " one of: arch, centos, ubuntu)"
echo " one of: centos, ubuntu)"
echo " --quiet Suppress container build output"
exit 1
}

View File

@ -25,7 +25,7 @@ function usage() {
echo " --dry-run Show commands that would run, but"
echo " do not run them"
echo " --tag=<tag> Select an image tag group to build,"
echo " one of: arch, centos, ubuntu)"
echo " one of: centos, ubuntu)"
echo " --quiet Suppress container build output"
exit 1
}