chore: remove support for arch images (#161)
This commit is contained in:
parent
b197270c7a
commit
8f937ea980
|
@ -64,7 +64,6 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
job:
|
||||
- arch
|
||||
- centos
|
||||
- ubuntu
|
||||
fail-fast: false
|
||||
|
|
|
@ -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}
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue