Remove dockerhub access in favor of ECR public images

This commit is contained in:
Anthony Cicchetti 2023-03-15 22:55:10 -04:00
parent a7dbea9613
commit 1f14923e1a
2 changed files with 2 additions and 5 deletions

View file

@ -1,5 +1,5 @@
# syntax=docker/dockerfile:labs # syntax=docker/dockerfile:labs
FROM ubuntu:rolling as preinstall FROM public.ecr.aws/ubuntu/ubuntu:focal as preinstall
RUN apt-get update && apt-get install -y curl python3-minimal RUN apt-get update && apt-get install -y curl python3-minimal
FROM preinstall as base FROM preinstall as base

View file

@ -4,7 +4,7 @@ DOCKER := if env_var_or_default("USE_PODMAN", "no") == "yes" { "podman" } else {
BYPASS4NS := if env_var_or_default("USE_LIMA", "no") == "yes" { "--label nerdctl/bypass4ns=true" } else { "" } BYPASS4NS := if env_var_or_default("USE_LIMA", "no") == "yes" { "--label nerdctl/bypass4ns=true" } else { "" }
ARCH := if arch() == "aarch64" { "arm64" } else { "x64" } ARCH := if arch() == "aarch64" { "arm64" } else { "x64" }
docker-build: docker-update docker-build:
{{ DOCKER }} build --build-arg ARCH="{{ARCH}}" -t iosevka . {{ DOCKER }} build --build-arg ARCH="{{ARCH}}" -t iosevka .
docker-run: docker-build docker-run: docker-build
@ -14,6 +14,3 @@ clone:
git clone http://github.com/be5invis/iosevka git clone http://github.com/be5invis/iosevka
wormhole: docker-run wormhole: docker-run
docker-update:
{{ DOCKER }} pull ubuntu:rolling