From 800ee4a61ba8b0b1bd3c80f53b70b4894e2a97cc Mon Sep 17 00:00:00 2001 From: Shashi Kant Date: Tue, 21 May 2024 14:57:09 +0000 Subject: [PATCH] fixing Dockerfile --- Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index ba3cdb9..a099ca0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,15 +5,14 @@ COPY entrypoint.sh /entrypoint.sh COPY tailcall.tf /tmp/tailcall.tf COPY config/config.graphql /tmp/config.graphql -RUN yum update \ - && yum upgrade \ - && yum install \ - && yum install -y yum-utils \ +RUN yum update -y \ + && yum upgrade -y \ + && yum install -y yum-utils gcc curl \ && yum-config-manager --add-repo https://rpm.releases.hashicorp.com/AmazonLinux/hashicorp.repo \ && yum -y install terraform \ - && yum -y install curl \ && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \ && source $HOME/.cargo/env \ + && cargo install cargo-lambda \ && git clone https://github.com/tailcallhq/tailcall \ && cd tailcall \ && cargo lambda build -p tailcall-aws-lambda --release \