Skip to content

Commit

Permalink
[update][docker] remove custom maven settings
Browse files Browse the repository at this point in the history
  • Loading branch information
wgzhao committed Aug 30, 2024
1 parent ff25da8 commit 012a571
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ ARG type="basic"
ENV package_type=$type

RUN <<EOF
mkdir /root/.m2
echo '<?xml version="1.0" encoding="UTF-8"?><settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"><mirrors><mirror><id>tencent</id><mirrorOf>*</mirrorOf><name>tencent cloud</name><url>https://mirrors.cloud.tencent.com/nexus/repository/maven-public/</url></mirror></mirrors></settings>' >/root/.m2/settings.xml
mvn clean package -P${package_type} -DskipTests
mvn package assembly:single
./shrink_package.sh
Expand Down

0 comments on commit 012a571

Please sign in to comment.