Updated base image docker repo url

Also fixed some code deprecation warnings

Change-Id: I7b65ef5621d54731effbf8545d2af92ac423d3ac
This commit is contained in:
Sergiy Markin 2024-12-19 19:44:52 +00:00
parent 78fc0f6856
commit 4d500e48e8
2 changed files with 4 additions and 3 deletions

View File

@ -15,7 +15,8 @@
import abc
import copy
import os
import pkg_resources
from importlib.resources import files
import re
import yaml
@ -44,7 +45,7 @@ def _get_schema_parts(document, schema_key='schema'):
def _get_schema_dir():
return pkg_resources.resource_filename('deckhand.engine', 'schemas')
return str(files('deckhand.engine') / 'schemas')
def _build_schema_map():

View File

@ -18,7 +18,7 @@
# 429 Too Many Requests - Server message: too many requests:
# You have reached your pull rate limit.
# You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
ARG FROM=public.ecr.aws/ubuntu/ubuntu:jammy
ARG FROM=public.ecr.aws/docker/library/ubuntu:jammy
FROM ${FROM}
LABEL org.opencontainers.image.authors='airship-discuss@lists.airshipit.org, irc://#airshipit@freenode'