Skip to content

Commit ff17cb6

Browse files
committed
otimize graalvm fix bugs 17 - switch image to ubuntu arm, revert to work with ARG BUILDPLATFORM, remove cache
add same runner: ubuntu-latest switch to mvnw improve profile default add -Pnative no enable build native march again, and runner arm enable cache and SPRING_ACTIVE_PROFILE=cicd try to fix docker add wget add make to install musl enable static with fix make install and try to fix docker manifest
1 parent ffd0945 commit ff17cb6

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/dev-pipeline.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,18 @@ jobs:
6868
username: ${{ secrets.REGISTRY_USERNAME }}
6969
password: ${{ secrets.REGISTRY_PASSWORD }}
7070

71+
- name: Remove old manifests
72+
run: |
73+
docker manifest rm \
74+
${{ env.REGISTRY_URL }}/${{ env.PROJECT }}/${{ env.IMAGE }}:${{ env.TAG }}-amd64 \
75+
|| echo "No existing amd64 manifest"
76+
docker manifest rm \
77+
${{ env.REGISTRY_URL }}/${{ env.PROJECT }}/${{ env.IMAGE }}:${{ env.TAG }}-arm64 \
78+
|| echo "No existing arm64 manifest"
79+
docker manifest rm \
80+
${{ env.REGISTRY_URL }}/${{ env.PROJECT }}/${{ env.IMAGE }}:${{ env.TAG }} \
81+
|| echo "No existing root manifest"
82+
7183
- name: Create multi-arch manifest
7284
run: |
7385
docker manifest create \

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ WORKDIR /app
1616
# Install only wget & xz
1717
USER root
1818
RUN microdnf install --nodocs -y \
19-
wget xz make gcc glibc-devel \
19+
wget xz make gcc \
2020
&& microdnf clean all
2121

2222
# Install musl

0 commit comments

Comments
 (0)