Skip to content

Commit 79f5371

Browse files
authored
AYS-399 | All Dependencies Have Been Upgraded to Latest Versions and Vulnerabilities Have Been Fixed (#367)
1 parent 09096fc commit 79f5371

File tree

6 files changed

+395
-433
lines changed

6 files changed

+395
-433
lines changed

.mvn/wrapper/maven-wrapper.jar

-57.4 KB
Binary file not shown.
Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,19 @@
1-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip
2-
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
wrapperVersion=3.3.2
18+
distributionType=only-script
19+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.8/apache-maven-3.9.8-bin.zip

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Stage 1: Build stage
2-
FROM maven:3.9.6-amazoncorretto-17 AS build
2+
FROM maven:3.9.8-amazoncorretto-17-al2023 AS build
33

44
# Copy Maven files for dependency resolution
55
COPY pom.xml ./
@@ -15,7 +15,7 @@ COPY settings.xml settings.xml
1515
RUN mvn --settings settings.xml clean install -DskipTests
1616

1717
# Stage 2: Run stage
18-
FROM amazoncorretto:17
18+
FROM amazoncorretto:17.0.12-al2023
1919

2020
# Set working directory
2121
WORKDIR ays-be
@@ -27,4 +27,4 @@ COPY --from=build target/*.jar /app/ays-be.jar
2727
EXPOSE 9790
2828

2929
# Set the entrypoint command for running the application
30-
ENTRYPOINT ["java", "-jar", "/app/ays-be.jar"]
30+
ENTRYPOINT ["java", "-jar", "/app/ays-be.jar"]

0 commit comments

Comments
 (0)