diff --git a/Dockerfile b/Dockerfile index 2af3fcb..a325283 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/config/bootstrap b/config/bootstrap old mode 100644 new mode 100755 index b156ebc..95d7006 Binary files a/config/bootstrap and b/config/bootstrap differ