Skip to content

Instantly share code, notes, and snippets.

@djmaze
Created October 11, 2019 21:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djmaze/fcaeda42f47354ce6fb4928a26132e69 to your computer and use it in GitHub Desktop.
Save djmaze/fcaeda42f47354ce6fb4928a26132e69 to your computer and use it in GitHub Desktop.
Restic compile error with Go 1.13
FROM golang:1.13.1-buster
ARG RESTIC_VERSION=0.9.5
ARG RESTIC_SHA256=e22208e946ede07f56ef60c1c89de817b453967663ce4867628dff77761bd429
RUN curl -sL -o restic.tar.gz https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic-${RESTIC_VERSION}.tar.gz \
&& echo "${RESTIC_SHA256} restic.tar.gz" | sha256sum -c - \
&& tar xzf restic.tar.gz \
&& cd restic-${RESTIC_VERSION} \
&& go run build.go \
&& mv restic /usr/local/bin/restic \
&& cd .. \
&& rm restic.tar.gz restic-${RESTIC_VERSION} -fR
@djmaze
Copy link
Author

djmaze commented Oct 11, 2019

Compile error:

go: contrib.go.opencensus.io/exporter/ocagent@v0.4.3 requires
        github.com/census-instrumentation/opencensus-proto@v0.1.0-0.20181214143942-ba49f56771b8: invalid pseudo-version: version before v0.1.0 would have negative patch number

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