Skip to content

Instantly share code, notes, and snippets.


sh0rez sh0rez

Block or report user

Report or block sh0rez

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
sh0rez / Dockerfile
Last active Jul 16, 2019
img segmentation violation
View Dockerfile
FROM golang:1.11.4-stretch as helm
ARG HELM_VER="v2.13.1"
RUN curl -L -o /tmp/helm-$HELM_VER.tgz${HELM_VER}-linux-amd64.tar.gz && \
tar -xz -C /tmp -f /tmp/helm-$HELM_VER.tgz && \
mv /tmp/linux-amd64/helm /usr/bin/helm && \
rm -rf /tmp/linux-amd64 /tmp/helm-$HELM_VER.tgz
FROM golang:1.11.4-stretch as golangci
RUN curl -sfL| sh -s v1.17.1
sh0rez / Dockerfile
Last active Jul 15, 2019
Cross-platform golang docker in 2019
View Dockerfile
FROM golang:1.12-alpine as goenv
RUN go env GOARCH > /goarch && \
go env GOARM > /goarm
FROM --platform=linux/amd64 golang:1.12-alpine as build
COPY --from=goenv /goarch /goarm /
COPY . /app
RUN GOARCH=$(cat /goarch) GOARM=$(cat /goarm) go build .

Keybase proof

I hereby claim:

  • I am sh0rez on github.
  • I am shorez ( on keybase.
  • I have a public key ASAuu92dSqcTlk3Q_yEPCrWET8plSUcVf_VsmgYQ69mLuQo

To claim this, I am signing this object:

You can’t perform that action at this time.