File tree 40 files changed +344
-89
lines changed
athena-cloudwatch-metrics
40 files changed +344
-89
lines changed Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-aws-cmdb-2022.47.1.jar ${LAMBDA_TASK_ROOT}
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-clickhouse-2022.47.1.jar ${LAMBDA_TASK_ROOT}
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-cloudera-hive-2022.47.1.jar ${LAMBDA_TASK_ROOT}
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-cloudera-impala-2022.47.1.jar ${LAMBDA_TASK_ROOT}
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-cloudwatch-metrics-2022.47.1.jar ${LAMBDA_TASK_ROOT}
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-cloudwatch-2022.47.1.jar ${LAMBDA_TASK_ROOT}
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-datalakegen2-2022.47.1.jar ${LAMBDA_TASK_ROOT}
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-db2-as400-2022.47.1.jar ${LAMBDA_TASK_ROOT}
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-db2-2022.47.1.jar ${LAMBDA_TASK_ROOT}
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Install necessary tools
4
12
RUN yum update -y && yum install -y curl perl openssl
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-dynamodb-2022.47.1.jar ${LAMBDA_TASK_ROOT}
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-elasticsearch-2022.47.1.jar ${LAMBDA_TASK_ROOT}
Original file line number Diff line number Diff line change 310
310
</compilerArgs >
311
311
</configuration >
312
312
</plugin >
313
- <plugin >
314
- <artifactId >maven-surefire-plugin</artifactId >
315
- <version >${surefire.failsafe.version} </version >
316
- <configuration >
317
- <!-- <groups>fast</groups>-->
318
- <excludedGroups >slow</excludedGroups >
319
- <properties >
320
- <!--
321
- <configurationParameters>
322
- junit.jupiter.conditions.deactivate = *
323
- </configurationParameters>
324
- -->
325
- </properties >
326
- </configuration >
327
- </plugin >
328
313
<plugin >
329
314
<groupId >org.apache.maven.plugins</groupId >
330
315
<artifactId >maven-shade-plugin</artifactId >
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-gcs.zip ${LAMBDA_TASK_ROOT}
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-google-bigquery-2022.47.1.jar ${LAMBDA_TASK_ROOT}
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-hbase-2022.47.1.jar ${LAMBDA_TASK_ROOT}
Original file line number Diff line number Diff line change 134
134
</execution >
135
135
</executions >
136
136
</plugin >
137
- <plugin >
138
- <groupId >org.apache.maven.plugins</groupId >
139
- <artifactId >maven-surefire-plugin</artifactId >
140
- <version >${surefire.failsafe.version} </version >
141
- <configuration >
142
- <argLine >-Xmx4g</argLine >
143
- <excludes >
144
- <exclude >*IntegTest</exclude >
145
- </excludes >
146
- </configuration >
147
- </plugin >
148
137
</plugins >
149
138
</build >
150
139
</project >
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-hortonworks-hive-2022.47.1.jar ${LAMBDA_TASK_ROOT}
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-kafka-2022.47.1.jar ${LAMBDA_TASK_ROOT}
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-msk-2022.47.1.jar ${LAMBDA_TASK_ROOT}
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-mysql-2022.47.1.jar ${LAMBDA_TASK_ROOT}
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-neptune-2022.47.1.jar ${LAMBDA_TASK_ROOT}
Original file line number Diff line number Diff line change 163
163
</dependencies >
164
164
<build >
165
165
<plugins >
166
- <plugin >
167
- <groupId >org.apache.maven.plugins</groupId >
168
- <artifactId >maven-surefire-plugin</artifactId >
169
- <configuration >
170
- <environmentVariables >
171
- <publishing >${publishing} </publishing >
172
- </environmentVariables >
173
- </configuration >
174
- </plugin >
175
166
<plugin >
176
167
<groupId >org.apache.maven.plugins</groupId >
177
168
<artifactId >maven-shade-plugin</artifactId >
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Install necessary tools
4
12
RUN yum update -y && yum install -y curl perl openssl
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-postgresql-2022.47.1.jar ${LAMBDA_TASK_ROOT}
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-redis-2022.47.1.jar ${LAMBDA_TASK_ROOT}
Original file line number Diff line number Diff line change 1
- FROM public.ecr.aws/lambda/java:11
1
+ # Argument for Java version, defaulting to 11
2
+ ARG JAVA_VERSION=11
3
+ # Use the specified version of Java
4
+ FROM public.ecr.aws/lambda/java:${JAVA_VERSION}
5
+
6
+ # Argument for Java tool options, defaulting to an empty string
7
+ ARG JAVA_TOOL_OPTIONS=""
8
+ # Set the JAVA_TOOL_OPTIONS environment variable for Java 17
9
+ ENV JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS}
2
10
3
11
# Copy function code and runtime dependencies from Maven layout
4
12
COPY target/athena-redshift-2022.47.1.jar ${LAMBDA_TASK_ROOT}
You can’t perform that action at this time.
0 commit comments