Skip to content

Docker container build fails #324

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tehmaestro opened this issue Aug 30, 2022 · 1 comment · Fixed by #325
Closed

Docker container build fails #324

tehmaestro opened this issue Aug 30, 2022 · 1 comment · Fixed by #325

Comments

@tehmaestro
Copy link

tehmaestro commented Aug 30, 2022

It worked a couple of hours ago, but now I get this with docker compose build

#0 0.320 /bin/sh: 1: Syntax error: "&&" unexpected

failed to solve: executor failed running [/bin/sh -c if [ -n "$INSTALL_CRON" ]; then  
SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.1.9/supercronic-$TARGETOS-$TARGETARCH 
 && echo $SUPERCRONIC_URL  && SUPERCRONIC=supercronic-linux-${TARGETARCH}  && 
SUPERCRONIC_SHA1SUM=5ddf8ea26b56d4a7ff6faecdd8966610d5cb9d85  && if [ "$TARGETARCH" == "arm64" ]; then 
SUPERCRONIC_SHA1SUM=e2714c43e7781bf1579c85aa61259245f56dbba1;     elif [ "$TARGETARCH" == "amd64" ]; then 
SUPERCRONIC_SHA1SUM=5ddf8ea26b56d4a7ff6faecdd8966610d5cb9d85;     else echo "Target arch '$TARGETARCH' is not 
supported"; fi;  && curl -fsSLO "$SUPERCRONIC_URL"  && echo "${SUPERCRONIC_SHA1SUM}  ${SUPERCRONIC}" | sha1sum -c - 
 && chmod +x "$SUPERCRONIC"  && sudo mv "$SUPERCRONIC" "/usr/local/bin/${SUPERCRONIC}"  && sudo ln -s 
"/usr/local/bin/${SUPERCRONIC}" /usr/local/bin/supercronic;  fi;]: exit code: 2
@jdmcalee
Copy link

Same here. Looks like it's being worked on in #325

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants