// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: MIT-0 FROM amazoncorretto:11 AS builder RUN yum update -y && yum install -y initscripts; ARG ARG_REGION ARG ARG_CREDS ENV REGION=$ARG_REGION ENV CREDS=$ARG_CREDS RUN yum update -y && yum install -y awscli RUN yum install wget -y && yum install unzip -y && yum install tar -y && yum install jq -y RUN wget https://services.gradle.org/distributions/gradle-7.3.3-bin.zip -P /tmp RUN unzip -d /opt/gradle /tmp/gradle-7.3.3-bin.zip FROM builder COPY settlement_outbound_gateway settlement_outbound_gateway COPY certs certs WORKDIR / COPY start.sh start.sh RUN chmod +x start.sh CMD ["sh", "/start.sh"]