From 7eae88b5cd32de330f2b7e40567420c9607f42bd Mon Sep 17 00:00:00 2001 From: "rodrigo.zamboni" Date: Wed, 29 Jun 2022 15:15:13 -0300 Subject: [PATCH] FIX: Added aws cli installation on dockerfile --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4c261e9..20cbf80 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,14 @@ ARG NPM_TOKEN COPY package.json . COPY package-lock.json . COPY .npmrc . + +RUN apt update && apt install -y curl unzip +RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" +RUN unzip awscliv2.zip +RUN ./aws/install + RUN aws codeartifact login --tool npm --repository dadosfera-npm --domain dadosfera --domain-owner 611330257153 + RUN npm install RUN rm -f ./.npmrc