initial commit
This commit is contained in:
commit
711d72a2ab
2 files changed
+40
No files matched your search
@@ -0,0 +1,22 @@
|
||||
image: quay.io/buildah/stable
|
||||
|
||||
variables:
|
||||
STORAGE_DRIVER: vfs
|
||||
BUILDAH_FORMAT: docker
|
||||
FQ_IMAGE_NAME: "$CI_REGISTRY_IMAGE"
|
||||
BUILDAH_NO_PROMPT: "1"
|
||||
|
||||
stages:
|
||||
- base
|
||||
# - build
|
||||
|
||||
build_base:
|
||||
stage: base
|
||||
script:
|
||||
- buildah bud --storage-driver=${STORAGE_DRIVER} -t ${FQ_IMAGE_NAME}:base -f Dockerfile.base .
|
||||
- echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY"
|
||||
- buildah push ${FQ_IMAGE_NAME}:base
|
||||
|
||||
#include:
|
||||
# - "java/.gitlab-ci.yml"
|
||||
# - "php/.gitlab-ci.yml"
|
||||
@@ -0,0 +1,18 @@
|
||||
FROM docker.io/codercom/enterprise-base:ubuntu
|
||||
|
||||
USER root
|
||||
|
||||
# Shared base utilities only
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
curl \
|
||||
unzip \
|
||||
git \
|
||||
ca-certificates \
|
||||
software-properties-common \
|
||||
lsb-release \
|
||||
gnupg \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
USER coder
|
||||
WORKDIR /home/coder
|
||||
Reference in new issue
Block a user