File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 with :
3535 context : karaf
3636 push : true
37- platforms : linux/amd64,linux/arm64
37+ # platforms: linux/amd64,linux/arm64
38+ platforms : linux/arm64
3839 tags : malaskowski/aet_karaf:${{ github.event.inputs.version }}
Original file line number Diff line number Diff line change @@ -30,4 +30,5 @@ atlassian-ide-plugin.xml
3030example-aet-swarm.zip
3131example-aet-swarm /bundles /* .jar
3232
33- karaf /bundles /* .jar
33+ karaf /bundles /* .jar
34+ karaf /tmp- *
Original file line number Diff line number Diff line change @@ -53,8 +53,10 @@ RUN apk add --update bash tar jq curl tree && rm -rf /var/cache/apk/*
5353
5454# Copy custom Karaf version from builder to prevent downloading the original one
5555COPY --from=builder /root/.m2/repository/org/apache/karaf /home/karaf/.m2/repository/org/apache/karaf
56+ # COPY tmp-m2/repository/org/apache/karaf /home/karaf/.m2/repository/org/apache/karaf
5657
5758COPY --from=builder /karaf/assemblies/apache-karaf/target/apache-karaf-4.2.0.zip /tmp
59+ # COPY tmp-karaf/assemblies/apache-karaf/target/apache-karaf-4.2.0.zip /tmp
5860RUN mkdir -p /opt/karaf
5961RUN unzip -o /tmp/apache-karaf-4.2.0.zip -d /tmp && mv /tmp/apache-karaf-4.2.0/* /opt/karaf
6062RUN rm /tmp/apache-karaf-4.2.0.zip && rm -rf /tmp/apache-karaf-4.2.0
Original file line number Diff line number Diff line change 1+ #
2+ # AET Docker
3+ #
4+ # Copyright (C) 2018 Maciej Laskowski
5+ #
6+ # Licensed under the Apache License, Version 2.0 (the "License");
7+ # you may not use this file except in compliance with the License.
8+ # You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing, software
13+ # distributed under the License is distributed on an "AS IS" BASIS,
14+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ # See the License for the specific language governing permissions and
16+ # limitations under the License.
17+ #
18+ #! /bin/sh
19+
20+ rm -rf tmp-karaf
21+
22+ git clone https://github.com/apache/karaf.git tmp-karaf \
23+ && cd tmp-karaf \
24+ && git checkout tags/karaf-4.2.0 -b karaf-4.2.0-aet \
25+ && git status
26+
27+
28+ gsed -i ' s/http/https/g' assemblies/features/base/pom.xml \
29+ && gsed -i ' s/1.10.1/1.11.14/g' pom.xml
30+
31+ # Build custom Karaf instance with bumped pax.logging to 1.11.14
32+ mvn install -DskipTests -Pfastinstall
33+
34+ mkdir -p tmp-m2/repository/org/apache/karaf
35+ cp -R ~ /.m2/repository/org/apache/karaf tmp-m2/repository/org/apache/karaf
You can’t perform that action at this time.
0 commit comments