20 Commits

Author SHA1 Message Date
2d02b0dc15 fix Dockerfile 2021-09-29 16:49:45 +02:00
5074102501 fix Dockerfile 2021-09-29 16:47:23 +02:00
b8f8674ca6 fix Dockerfile 2021-09-29 16:44:08 +02:00
7368b1d9aa add cheetah 2021-08-02 17:31:11 +02:00
8849562ef2 use python 3 2021-08-02 17:20:13 +02:00
1ed81f227a add jq here too 2021-05-26 11:28:08 +02:00
ec5e163cea add jq 2021-05-26 11:26:43 +02:00
cbff25dc3e vim.tiny becomes vim-tiny in bullseye 2021-03-11 12:31:46 +01:00
0b48578d31 ca-certificates also in bullseye image 2021-03-11 12:23:55 +01:00
e4503589e2 add ca package 2021-03-11 12:18:24 +01:00
9e83b1a3c2 fix 2021-03-08 18:34:12 +01:00
00e348a24c fix 2021-03-08 18:33:35 +01:00
17dd6d6718 new ci 2021-03-08 18:28:00 +01:00
11fc38f197 fix 2021-03-08 18:25:30 +01:00
629947cb97 upload to nexus 2021-03-08 18:22:55 +01:00
a2bd559e19 fix for bullseye 2021-01-28 15:04:47 +01:00
a64be0c66a upgrade to bullseye 2021-01-28 14:52:12 +01:00
964ad65e27 add doxygen and procps 2021-01-28 14:51:01 +01:00
9eee846ef9 new gitlab release tool 2021-01-13 18:18:48 +01:00
9117df9ad1 drop version file, add pip and xmltodict 2020-12-02 20:13:42 +01:00
4 changed files with 60 additions and 20 deletions

View File

@ -2,3 +2,29 @@ include:
- project: dockerized/commons - project: dockerized/commons
ref: master ref: master
file: gitlab-ci-template.yml file: gitlab-ci-template.yml
stages:
- check
- build
- krohnify
variables:
NEXUS_REGISTRY: devnexus.krohne.com:18079/repository/docker-krohne
NEXUS_IMAGE_NAME: $NEXUS_REGISTRY/$CI_PROJECT_NAME
krohnify:
image: registry.hottis.de/dockerized/docker-bash:latest
stage: krohnify
tags:
- krohne
- linux
- docker
only:
- tags
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker pull $IMAGE_NAME:${CI_COMMIT_TAG}
- docker tag $IMAGE_NAME:${CI_COMMIT_TAG} $NEXUS_IMAGE_NAME:${CI_COMMIT_TAG}
- docker login $NEXUS_REGISTRY --username $NEXUS_USER --password $NEXUS_PASSWORD
- docker push $NEXUS_IMAGE_NAME:${CI_COMMIT_TAG}

View File

@ -1,30 +1,40 @@
FROM debian:buster FROM debian:bullseye
LABEL Maintainer="Wolfgang Hottgenroth <woho@hottis.de>" LABEL Maintainer="Wolfgang Hottgenroth <woho@hottis.de>"
LABEL ImageName="registry.hottis.de/dockerized/base-build-env" LABEL ImageName="registry.hottis.de/dockerized/base-build-env"
LABEL AlternativeImageName="wollud1969/base-build-env" LABEL AlternativeImageName="wollud1969/base-build-env"
LABEL NexusImageName="devnexus.krohne.com:18079/repository/docker-krohne/base-build-env"
ARG RELEASETOOL_URL="https://home.hottis.de/gitlab/wolutator/gitlabreleaseuploader/uploads/f840b97a0eb64d1de2a6d6d1d4d1529e/GitlabReleaseTool.zip" ARG RELEASETOOL_URL="https://home.hottis.de/gitlab/wolutator/gitlabreleaseuploader/uploads/f97b219a1df1910822b9936a8236dfbd/GitlabReleaseTool.zip"
RUN \ RUN \
apt-get update && \ apt update && \
apt-get install -y make && \ apt upgrade -y && \
apt-get install -y openssh-client && \ apt install -y ca-certificates && \
apt-get install -y git && \ apt install -y make && \
apt-get install -y python && \ apt install -y openssh-client && \
apt-get install -y python-requests && \ apt install -y git && \
apt-get install -y python-pycodestyle && \ apt install -y python3 && \
apt-get install -y python-yaml && \ update-alternatives --install /usr/bin/python python /usr/bin/python3.9 1 && \
apt-get install -y gpg && \ apt install -y python3-requests && \
apt-get install -y apt-transport-https && \ apt install -y python3-pycodestyle && \
apt-get install -y wget && \ apt install -y python3-yaml && \
apt-get install -y curl && \ apt install -y python3-pip && \
apt-get install -y unzip && \ apt install -y python3-xmltodict && \
apt-get install -y zip && \ apt install -y gpg && \
apt-get install -y vim.tiny && \ apt install -y apt-transport-https && \
apt-get install -y p7zip-full && \ apt install -y wget && \
apt install -y curl && \
apt install -y unzip && \
apt install -y zip && \
apt install -y vim-tiny && \
apt install -y p7zip-full && \
apt install -y procps && \
apt install -y doxygen && \
apt install -y jq && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
pip install Cheetah3 && \
cd /tmp && \ cd /tmp && \
wget $RELEASETOOL_URL && \ wget $RELEASETOOL_URL && \
unzip GitlabReleaseTool.zip && \ unzip GitlabReleaseTool.zip && \
@ -34,3 +44,4 @@ RUN \
mv gitlabreleaseuploader.py /usr/bin && \ mv gitlabreleaseuploader.py /usr/bin && \
mv deleterelease.py /usr/bin && \ mv deleterelease.py /usr/bin && \
mv checksemver.py /usr/bin mv checksemver.py /usr/bin

View File

@ -1 +0,0 @@
0.3.0

View File

@ -1,6 +1,6 @@
## Base image for build containers ## Base image for build containers
Based on Debian Buster Based on Debian ~~Buster~~ Bullseye
Contains additionally: Contains additionally:
* make * make
@ -12,5 +12,9 @@ Contains additionally:
* wget and curl * wget and curl
* zip, unzip and 7z * zip, unzip and 7z
* vim.tiny * vim.tiny
* ps
* doxygen
* GitLab release tool: https://home.hottis.de/gitlab/wolutator/gitlabreleaseuploader including validator for semantic version according to https://semver.org/ * GitLab release tool: https://home.hottis.de/gitlab/wolutator/gitlabreleaseuploader including validator for semantic version according to https://semver.org/
Switched to Python 3