Skip to content

Commit

Permalink
use maven wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
zuisong committed Jan 30, 2024
1 parent e2b0edf commit fc68807
Show file tree
Hide file tree
Showing 8 changed files with 546 additions and 167 deletions.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "weekly"
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ target/
build/
*.iml
.*
!.mvn/
!.mvn
.mvn/wrapper/maven-wrapper.jar
!.github/
!.gitignore
!.editorconfig
18 changes: 18 additions & 0 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# 开始构建
FROM vegardit/graalvm-maven:21.0.2 As builder
FROM container-registry.oracle.com/graalvm/native-image:21 As builder
USER root
RUN mkdir -p /code
COPY ./ /code
WORKDIR /code
ARG maven_repo
RUN mvn clean compile native:build -Pnative
RUN ./mvnw clean compile native:build -Pnative
# 构建完毕

# 开始运行
Expand Down
31 changes: 0 additions & 31 deletions docker-compose-build.yml

This file was deleted.

133 changes: 0 additions & 133 deletions k8s:zk.yaml

This file was deleted.

Loading

0 comments on commit fc68807

Please sign in to comment.