~virtustom/ubuntu-docker-images/+git/utils:skopeo

Last commit made on 2022-04-26
Get this branch:
git clone -b skopeo https://git.launchpad.net/~virtustom/ubuntu-docker-images/+git/utils
Only Tomáš Virtus can upload to this branch. If you are Tomáš Virtus please log in for upload directions.

Branch merges

Branch information

Recent commits

8635014... by Tomáš Virtus

Skip validation when DEBUG_SKIP_VALIDATION=1

Useful for debugging scripts in test repositories. It's still checked
that the specified image exists in given repository.

1a8704b... by Tomáš Virtus

build: Install skopeo in Dockerfile

It will be used for interaction with registries instead of direct API
calls via curl. Skopeo handles OAuth seamlessly. Install it from
official image[1].

[1] https://github.com/containers/skopeo/blob/main/install.md#container-images

9be5b99... by Tomáš Virtus

build: Fix azure-cli install in Dockerfile

Proper instructions for Ubuntu are at
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt

922685e... by Tomáš Virtus

build: Dockerfile: Use focal as stable base

Third-party apt repositories may not have packages for latest. Use focal
as base for now until 3rd-party packages for jammy are available. E.g.
azure-cli is not yet available for jammy because jammy moved to libssl3
from libssl1.1.

8eef67f... by Tomáš Virtus

build: Dockerfile: Use curl instead of ADD

ADD prevents caching of subsequent directives; every builds runs from
first ADD directive even if nothing changes. Use curl instead.

4e80dbd... by Tomáš Virtus

build: Add .dockerignore

Ignore Dockerfile so that "COPY . /src" won't invalidate its and
subsequent cached layers when Dockerfile is edited. Also ignore Vim swap
files, .git and .dockerignore itself.

5d63ec9... by Tomáš Virtus

Fix registry namespace dictionary

Commit 71cb1a0d ("azurecr: Change namespace from canonical to ubuntu")
changed ACR namespace to Ubuntu. It changed ditionary key from canonical
to ubuntu, which replaced previous key with other registries and so
validation of docker and aws namespaces failed. Fix that by properly
constructing regex for ubuntu namespace.

14478b7... by Tomáš Virtus

Don't fail when there's new devel release

On new release day and some time after when there's no new devel entry
in /usr/share/distro-info/ubuntu.csv, "distro-info --devel" fails with
"Distribution data outdated." error message. In that case keep
DISTRONAME_DEVEL empty and continue.

71cb1a0... by Tomáš Virtus

azurecr: Change namespace from canonical to ubuntu

Canonical now owns ubuntu namespace on ACR (ubuntu.azurecr.io) so use it
instead of canonical which is going to be used for something else later.

be5022b... by Sergio Durigan Junior

golang-manifest-builder.py: Skip modules not in pkg.dev.go

Although rare, it is possible for modules not to be listed in the
pkg.dev.go website. We have to skip those when querying.

This fixes a ROCK build failure for the telegraf image.

Signed-off-by: Sergio Durigan Junior <email address hidden>