2020-06-02 16:28:02 +02:00
# docker-archlinux
2021-03-08 19:19:04 +01:00
[![Build Status ](https://drone.dotya.ml/api/badges/wanderer/docker-archlinux/status.svg )](https://drone.dotya.ml/wanderer/docker-archlinux)
2020-06-02 18:03:01 +02:00
[![Docker Cloud Build Status ](https://img.shields.io/docker/cloud/build/immawanderer/archlinux )](https://hub.docker.com/r/immawanderer/archlinux/builds)
2021-05-05 02:54:27 +02:00
[![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/)
2020-06-02 18:03:01 +02:00
2020-06-02 16:28:02 +02:00
This repository provides the Dockerfile to create an updated Arch Linux base image.
2021-03-08 23:00:43 +01:00
## :warning: :construction: DockerHub issue :construction: :warning:
unless you're running Arch as your host OS, please make sure you read through the following issue write-up \
⇒ https://git.dotya.ml/wanderer/docker-archlinux/issues/1 \
:warning: :construction: :construction: :construction: :warning:
2020-06-02 16:28:02 +02:00
The image is rebuilt approximately every hour to ensure it always has the latest packages.
2020-07-26 21:54:58 +02:00
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 )
2020-06-02 16:28:02 +02:00
## 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
2021-04-22 20:42:56 +02:00
* edit the `yourlocalpath` and `containerpath` variables or remove them entirely (along with `-v` ) if you have *nothing to mount*
2020-06-02 16:28:02 +02:00
```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
2020-09-13 23:52:35 +02:00
wget https://git.dotya.ml/wanderer/docker-archlinux/raw/branch/master/Dockerfile
2020-06-02 16:28:02 +02:00
docker build --pull - < Dockerfile
```