chore(make): Split and enhancements
- split Makefile in several sub files - use a separated container for tests -
This commit is contained in:
8
oci/builder/Containerfile
Normal file
8
oci/builder/Containerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
ARG GOVERSION=1.24
|
||||
FROM docker.io/golang:${GOVERSION}
|
||||
# install helm
|
||||
RUN set -xe; \
|
||||
apt-get update && apt-get install -y curl; \
|
||||
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
||||
|
||||
|
4
oci/description
Normal file
4
oci/description
Normal file
@@ -0,0 +1,4 @@
|
||||
Katenary transforms docker/podman compose files to Helm Charts.
|
||||
It harnesses the labels from your "compose" file to craft complete Helm Charts effortlessly, saving you time and energy.
|
||||
- Simple automated CLI: Katenary handles the grunt work, generating everything needed for seamless service binding and Helm Chart creation.
|
||||
- Effortless Efficiency: You only need to add labels when it's necessary to precise things. Then call katenary convert and let the magic happen.
|
20
oci/packager/Containerfile
Normal file
20
oci/packager/Containerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM registry.fedoraproject.org/fedora:42
|
||||
RUN set -eux; \
|
||||
microdnf -y install \
|
||||
rubygems rpmbuild rpmsign bsdtar mingw-nsis-base.x86_64 mingw32-nsis.noarch gpg2; \
|
||||
microdnf clean all;
|
||||
|
||||
# create user with 999 UID/GID
|
||||
RUN set -eux; \
|
||||
groupadd -g 1001 builder; \
|
||||
useradd -m -u 1001 -g 1001 -d /home/builder -s /bin/bash builder; \
|
||||
chown builder:builder /home/builder
|
||||
|
||||
USER builder
|
||||
ENV PATH="/home/builder/bin:${PATH}"
|
||||
WORKDIR /home/builder
|
||||
RUN set -eux; \
|
||||
gem install fpm
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user