Skip to content

Commit

Permalink
passed aws config arguments in docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
AbduRawoof committed Dec 13, 2024
1 parent e94955e commit 9d424de
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,18 @@ ARG AWS_REGION="us-east-2"

#RUN apk add --update --no-cache curl tar ca-certificates && \
# added usage-schema to s3 bucket and from bucket the usaage schema is used in dockef build & passed arguments to aws configure
RUN apk add --update --no-cache curl tar unzip && \
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
./aws/install && \
rm -rf awscliv2.zip aws && \
RUN apk add --update --no-cache curl tar python3 py3-pip && \
pip install awscli && \
aws s3 cp ${S3_PATH_PRIVATE} /tmp/usage-schema.tar.gz && \
tar -xzf /tmp/usage-schema.tar.gz

# RUN apk add --update --no-cache curl tar unzip && \
# curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
# unzip awscliv2.zip && \
# ./aws/install && \
# rm -rf awscliv2.zip aws && \
# aws s3 cp ${S3_PATH_PRIVATE} /tmp/usage-schema.tar.gz && \
# tar -xzf /tmp/usage-schema.tar.gz
#curl https://artifacts.rackspace.net/artifactory/cloudfeeds-maven-local/com/rackspace/usage/usage-schema/${SCHEMA_VERSION}/usage-schema-${SCHEMA_VERSION}-schema.tar.gz | tar xz
# TODO: verify the authenticity and integrity of above packages

Expand Down

0 comments on commit 9d424de

Please sign in to comment.