Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/arm64 build v7.0.1 #1

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
631d995
update versions for docker build
philipp-t Jul 11, 2022
73f6da0
Add build docker action
Jul 11, 2022
0e603e0
Add build docker action
Jul 11, 2022
1036ac4
Add build docker action
Jul 11, 2022
7b47c9e
Add build docker action
Jul 11, 2022
2ce4f2f
Add build docker action - multi arch
Jul 11, 2022
f66d441
Add build docker action - multi arch
Jul 11, 2022
fd5958c
Add build docker action - multi arch
Jul 11, 2022
6b9162a
Add build docker action - multi arch
Jul 11, 2022
0aae95d
Add build docker action - multi arch
Jul 11, 2022
54baed2
Add build docker action - multi arch
Jul 11, 2022
8141da2
Add build docker action - multi arch
Jul 11, 2022
706cba9
Add build docker action - multi arch
Jul 11, 2022
7682d63
Add build docker action - multi arch
Jul 11, 2022
dbf7657
Add build docker action - multi arch
Jul 11, 2022
e2276da
Add build docker action - multi arch
Jul 11, 2022
46bbb24
Add build docker action - multi arch
Jul 11, 2022
b19a690
Add build docker action - multi arch
Jul 11, 2022
29f5869
Add build docker action - multi arch
Jul 11, 2022
7f9b747
Add build docker action - multi arch
Jul 11, 2022
47b9e44
Add build docker action - multi arch
Jul 11, 2022
0097c14
Add build docker action - multi arch
Jul 12, 2022
7b57daa
Add build docker action - multi arch
Jul 12, 2022
9dc2306
Add build docker action - multi arch
Jul 12, 2022
7b94ec2
Add build docker action - multi arch
Jul 12, 2022
7ae3038
Add build docker action - multi arch
Jul 12, 2022
e37d552
Add build docker action - multi arch
Jul 12, 2022
adef1f9
Add build docker action - multi arch
Jul 12, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/buildDocker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Build Docker Images
on:
push:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'zulu'
cache: 'maven'

- name: Build project
run: mvn clean install -Pdocker -Ddocker.skip-test=true -pl -jmxterm

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_ACCESS_KEY }}

- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: base
file: base/Dockerfile.ubi8
platforms: linux/amd64,linux/arm64
push: true
tags: thinkportgmbh/cp-base-new:7.0.1
build-args: |
ARTIFACT_ID=cp-base-new
PROJECT_VERSION=7.0.1

34 changes: 13 additions & 21 deletions base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@
</dependency>
</dependencies>

<!-- This jar is only used by the deb8 base image and does not get added to the other images. -->
<build>
<!-- This jar is only used by the deb8 base image and does not get added to the other images. -->
<build>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
Expand Down Expand Up @@ -111,25 +111,17 @@
<plugin>
<groupId>com.spotify</groupId>
<artifactId>dockerfile-maven-plugin</artifactId>
<configuration>
<buildArgs>
<UBI_MINIMAL_VERSION>${ubi.image.version}</UBI_MINIMAL_VERSION>
<OPENSSL_VERSION>-${ubi.openssl.version}</OPENSSL_VERSION>
<WGET_VERSION>-${ubi.wget.version}</WGET_VERSION>
<NETCAT_VERSION>-${ubi.netcat.version}</NETCAT_VERSION>
<PYTHON36_VERSION>-${ubi.python36.version}</PYTHON36_VERSION>
<TAR_VERSION>-${ubi.tar.version}</TAR_VERSION>
<PROCPS_VERSION>-${ubi.procps.version}</PROCPS_VERSION>
<KRB5_WORKSTATION_VERSION>-${ubi.krb5.workstation.version}</KRB5_WORKSTATION_VERSION>
<IPUTILS_VERSION>-${ubi.iputils.version}</IPUTILS_VERSION>
<HOSTNAME_VERSION>-${ubi.hostname.version}</HOSTNAME_VERSION>
<ZULU_OPENJDK_VERSION>-${ubi.zulu.openjdk.version}</ZULU_OPENJDK_VERSION>
<PYTHON_PIP_VERSION>==${ubi.python.pip.version}</PYTHON_PIP_VERSION>
<PYTHON_SETUPTOOLS_VERSION>==${ubi.python.setuptools.version}</PYTHON_SETUPTOOLS_VERSION>
<PYTHON_CONFLUENT_DOCKER_UTILS_VERSION>${ubi.python.confluent.docker.utils.version}</PYTHON_CONFLUENT_DOCKER_UTILS_VERSION>
<SKIP_SECURITY_UPDATE_CHECK>${docker.skip-security-update-check}</SKIP_SECURITY_UPDATE_CHECK>
</buildArgs>
</configuration>
<executions>
<execution>
<id>package</id>
<goals>
<goal>build</goal>
</goals>
<configuration>
<skip>true</skip>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
16 changes: 12 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,21 @@
<docker.tag>${io.confluent.common-docker.version}-${docker.os_type}</docker.tag>
<io.confluent.common-docker.version>7.0.1</io.confluent.common-docker.version>
<!-- Versions-->
<ubi.image.version>8.5-204</ubi.image.version>
<ubi.image.version>8.6-854</ubi.image.version>
<!-- Redhat Package Versions -->
<ubi.openssl.version>1.1.1k-4.el8</ubi.openssl.version>
<ubi.openssl.version>1.1.1k-6.el8_5</ubi.openssl.version>
<ubi.wget.version>1.19.5-10.el8</ubi.wget.version>
<ubi.netcat.version>7.70-6.el8</ubi.netcat.version>
<ubi.python36.version>3.6.8-38.module+el8.5.0+12207+5c5719bc</ubi.python36.version>
<ubi.tar.version>1.30-5.el8</ubi.tar.version>
<ubi.procps.version>3.3.15-6.el8</ubi.procps.version>
<ubi.krb5.workstation.version>1.18.2-14.el8</ubi.krb5.workstation.version>
<ubi.iputils.version>20180629-7.el8</ubi.iputils.version>
<ubi.iputils.version>20180629-9.el8</ubi.iputils.version>
<ubi.hostname.version>3.20-6.el8</ubi.hostname.version>
<ubi.xzlibs.version>5.2.4-4.el8_6</ubi.xzlibs.version>
<ubi.glibc.version>2.28-189.5.el8_6</ubi.glibc.version>
<!-- ZULU OpenJDK Package Version -->
<ubi.zulu.openjdk.version>11.0.13</ubi.zulu.openjdk.version>
<ubi.zulu.openjdk.version>11.0.15-1</ubi.zulu.openjdk.version>
<!-- Python Module Versions -->
<ubi.python.pip.version>21.*</ubi.python.pip.version>
<ubi.python.setuptools.version>54.*</ubi.python.setuptools.version>
Expand All @@ -56,4 +58,10 @@
`-Ddocker.skip-security-update-check=true` -->
<docker.skip-security-update-check>false</docker.skip-security-update-check>
</properties>
<repositories>
<repository>
<id>confluent</id>
<url>https://packages.confluent.io/maven/</url>
</repository>
</repositories>
</project>