Skip to content

Docker container build fails #324

Description

@tehmaestro

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions