docker-archlinux/README.md
surtur 584e8c97a5
All checks were successful
continuous-integration/drone/push Build is passing
ci: switch from hourly to nightly builds
2023-10-18 14:21:55 +02:00

42 lines
2.0 KiB
Markdown

# docker-archlinux
[![Build Status](https://drone.dotya.ml/api/badges/wanderer/docker-archlinux/status.svg)](https://drone.dotya.ml/wanderer/docker-archlinux)
[![Docker Image Version (latest by date)](https://img.shields.io/docker/v/immawanderer/archlinux)](https://hub.docker.com/r/immawanderer/archlinux/tags/?page=1&ordering=last_updated)
[![Docker Image Version (tag latest semver)](https://img.shields.io/docker/v/immawanderer/archlinux/linux-amd64)](https://hub.docker.com/r/immawanderer/archlinux/tags/?page=1&ordering=last_updated&name=linux-amd64)
[![Docker Image Size (tag)](https://img.shields.io/docker/image-size/immawanderer/archlinux/linux-amd64)](https://hub.docker.com/r/immawanderer/archlinux/tags/?page=1&ordering=last_updated&name=linux-amd64)
[![Docker pulls](https://img.shields.io/docker/pulls/immawanderer/archlinux)](https://hub.docker.com/r/immawanderer/archlinux/)
This repository provides a Dockerfile to create an *updated* Arch Linux base(-devel) image.
The image is rebuilt nightly to ensure it always has the latest packages.
push mirror lives in [this GitHub repo](https://github.com/wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf/docker-archlinux)
development happens on [this Gitea instance](https://git.dotya.ml/wanderer/docker-archlinux)
## What you get
* updated Arch Linux [base image](https://hub.docker.com/_/archlinux)
That's just it. This makes it possible to just grab the image and install whatever it is you want on top later.
## Purpose
* Arch Linux image with freshly updated package base to build upon
## Running the image
* edit the `yourlocalpath` and `containerpath` variables or remove them entirely (along with `-v`) if you have *nothing to mount*
```bash
docker run -it -v yourlocalpath:containerpath immawanderer/archlinux:latest
```
## Building the image locally
* create a new folder
* grab the Dockerfile and place it in that folder
* build the image locally
```bash
mkdir -pv mynewfolder
cd ./mynewfolder
wget https://git.dotya.ml/wanderer/docker-archlinux/raw/branch/master/Dockerfile
docker build --pull - < Dockerfile
```