container: Use fully qualified image name in FROM
Podman only resolves short image names through an unqualified search registry, which is not configured by default on Arch (and on Ubuntu setups without a registries.d file), so builds fail at the first step with 'short-name "archlinux" did not resolve'. Naming the registry explicitly makes the image build on any distro without per-distro configuration.
This commit is contained in:
parent
8a7af06983
commit
43dc757b92
1 changed files with 3 additions and 1 deletions
|
|
@ -1,4 +1,6 @@
|
|||
FROM archlinux:latest
|
||||
# Fully qualified registry: Podman on distros without an unqualified search
|
||||
# registry configured (e.g. Arch or Ubuntu) cannot resolve the short name.
|
||||
FROM docker.io/library/archlinux:latest
|
||||
|
||||
ARG USERNAME=dev
|
||||
ARG UID=1000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue