Skip to content

Commit

Permalink
adding debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
shashitnak committed May 23, 2024
1 parent 9d46191 commit 4ea74c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ COPY aws/tailcall.tf /aws/tailcall.tf
COPY fly/Dockerfile /fly/Dockerfile

RUN apk upgrade --no-cache && apk update --no-cache
RUN apk add --no-cache curl jq go
RUN apk add --no-cache curl jq

ENTRYPOINT /bin/sh /entrypoint.sh
10 changes: 4 additions & 6 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@ cp $TAILCALL_CONFIG /fly/config.graphql

setup_terraform() {
TERRAFORM_VERSION=$(get_latest_version hashicorp terraform)
wget -O /tmp/terraform.zip https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip
unzip /tmp/terraform.zip -d /tmp && rm /tmp/terraform.zip
ls /tmp
mv /tmp/*/terraform /usr/local/bin/terraform
ls /aws
chmod +x /aws/terraform
echo $TERRAFORM_VERSION
wget -O terraform.zip https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip
unzip terraform.zip && rm terraform.zip
mv ./*/terraform /usr/local/bin/terraform
}

setup_flyctl() {
Expand Down

0 comments on commit 4ea74c4

Please sign in to comment.