Skip to content

Commit

Permalink
updating dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
shashitnak committed May 22, 2024
1 parent 4afd667 commit 8ee8dd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,14 @@ COPY config/config.graphql /tmp/config.graphql

RUN yum update -y \
&& yum upgrade -y \
&& yum install -y yum-utils gcc curl tar xz \
&& yum install -y yum-utils gcc curl tar xz python3-pip \
&& yum-config-manager --add-repo https://rpm.releases.hashicorp.com/AmazonLinux/hashicorp.repo \
&& yum -y install terraform \
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
&& source $HOME/.cargo/env \
&& cargo install cargo-lambda \
&& curl -O https://ziglang.org/builds/zig-linux-x86_64-0.13.0-dev.230+50a141945.tar.xz \
&& tar -xvf zig-linux-x86_64-0.13.0-dev.230+50a141945.tar.xz \
&& export PATH=$PATH:/zig-linux-x86_64-0.13.0-dev.230+50a141945 \
&& pip3 install cargo-lambda \
&& git clone https://github.com/tailcallhq/tailcall \
&& cd tailcall \
&& git checkout aws-lambda \
&& cargo lambda build -p tailcall-aws-lambda --release --target x86_64-unknown-linux-musl \
&& mv target/lambda/tailcall-aws-lambda/bootstrap /tmp

Expand Down
Binary file modified config/bootstrap
100644 → 100755
Binary file not shown.

0 comments on commit 8ee8dd6

Please sign in to comment.