From 33887951cd06f83131eebca9b7b707682bca6e75 Mon Sep 17 00:00:00 2001 From: Daniel Villanueva Date: Mon, 14 Oct 2024 12:48:54 +0200 Subject: [PATCH] Create Containerfile --- Containerfile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Containerfile diff --git a/Containerfile b/Containerfile new file mode 100644 index 00000000..7a7caee3 --- /dev/null +++ b/Containerfile @@ -0,0 +1,34 @@ +# +# Copyright (C) 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + +FROM scratch as builder +COPY packages/backend/dist/ /extension/dist +COPY packages/backend/package.json /extension/ +COPY packages/backend/media/ /extension/media +COPY LICENSE /extension/ +COPY packages/backend/icon.png /extension/ +COPY packages/backend/bootable.woff2 /extension/ +COPY README.md /extension/ + +FROM scratch + +LABEL org.opencontainers.image.title="OpenShift Local Extension" \ + org.opencontainers.image.description="Podman Desktop extension for OpenShift Local" \ + org.opencontainers.image.vendor="Red Hat" \ + io.podman-desktop.api.version=">= 1.10.0" + +COPY --from=builder /extension /extension