Skip to content

upgrade golang to latest

Compare
Choose a tag to compare
@neurosnap neurosnap released this 21 Jun 17:46
· 35 commits to master since this release
0c38fad

This release upgrades golang to 1.18.x in order to address theoretical CVEs:

We also switched from using travis to github actions.

We do not anticipate any breaking changes but with a major programming language bump we felt a patch was insufficient.

Installation Instructions

supercronic-linux-amd64

Add the following stanza to your Dockerfile to install supercronic-linux-amd64.

You will need to install curl beforehand.

ENV SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.2.0/supercronic-linux-amd64 \
    SUPERCRONIC=supercronic-linux-amd64 \
    SUPERCRONIC_SHA1SUM=1f187c07bd973ff1cf5097a8caacbd1686ece5f1

RUN curl -fsSLO "$SUPERCRONIC_URL" \
 && echo "${SUPERCRONIC_SHA1SUM}  ${SUPERCRONIC}" | sha1sum -c - \
 && chmod +x "$SUPERCRONIC" \
 && mv "$SUPERCRONIC" "/usr/local/bin/${SUPERCRONIC}" \
 && ln -s "/usr/local/bin/${SUPERCRONIC}" /usr/local/bin/supercronic

supercronic-linux-386

Add the following stanza to your Dockerfile to install supercronic-linux-386.

You will need to install curl beforehand.

ENV SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.2.0/supercronic-linux-386 \
    SUPERCRONIC=supercronic-linux-386 \
    SUPERCRONIC_SHA1SUM=cdabef523db8ce7f9f42033c598f2cb87d51e8ed

RUN curl -fsSLO "$SUPERCRONIC_URL" \
 && echo "${SUPERCRONIC_SHA1SUM}  ${SUPERCRONIC}" | sha1sum -c - \
 && chmod +x "$SUPERCRONIC" \
 && mv "$SUPERCRONIC" "/usr/local/bin/${SUPERCRONIC}" \
 && ln -s "/usr/local/bin/${SUPERCRONIC}" /usr/local/bin/supercronic

supercronic-linux-arm

Add the following stanza to your Dockerfile to install supercronic-linux-arm.

You will need to install curl beforehand.

ENV SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.2.0/supercronic-linux-arm \
    SUPERCRONIC=supercronic-linux-arm \
    SUPERCRONIC_SHA1SUM=b46b28b48c2c37896ffb52cc8a116b62a9ed9c64

RUN curl -fsSLO "$SUPERCRONIC_URL" \
 && echo "${SUPERCRONIC_SHA1SUM}  ${SUPERCRONIC}" | sha1sum -c - \
 && chmod +x "$SUPERCRONIC" \
 && mv "$SUPERCRONIC" "/usr/local/bin/${SUPERCRONIC}" \
 && ln -s "/usr/local/bin/${SUPERCRONIC}" /usr/local/bin/supercronic

supercronic-linux-arm64

Add the following stanza to your Dockerfile to install supercronic-linux-arm64.

You will need to install curl beforehand.

ENV SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.2.0/supercronic-linux-arm64 \
    SUPERCRONIC=supercronic-linux-arm64 \
    SUPERCRONIC_SHA1SUM=e301f574c2a62853d2045c4999f7ca651ba89fc9

RUN curl -fsSLO "$SUPERCRONIC_URL" \
 && echo "${SUPERCRONIC_SHA1SUM}  ${SUPERCRONIC}" | sha1sum -c - \
 && chmod +x "$SUPERCRONIC" \
 && mv "$SUPERCRONIC" "/usr/local/bin/${SUPERCRONIC}" \
 && ln -s "/usr/local/bin/${SUPERCRONIC}" /usr/local/bin/supercronic