We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5501df commit 0be9630Copy full SHA for 0be9630
Dockerfile
@@ -1,17 +1,10 @@
1
-FROM drydock-prod.workiva.net/workiva/platform:v0
2
FROM golang:1.16-alpine3.13 AS build-go
3
4
ARG GIT_SSH_KEY
5
ARG KNOWN_HOSTS_CONTENT
6
WORKDIR /go/src/github.com/Workiva/go-datastructures/
7
ADD . /go/src/github.com/Workiva/go-datastructures/
8
9
-RUN mkdir /root/.ssh && \
10
- echo "$KNOWN_HOSTS_CONTENT" > "/root/.ssh/known_hosts" && \
11
- chmod 700 /root/.ssh/ && \
12
- umask 0077 && echo "$GIT_SSH_KEY" >/root/.ssh/id_rsa && \
13
- eval "$(ssh-agent -s)" && ssh-add /root/.ssh/id_rsa
14
-
15
ARG GOPATH=/go/
16
ENV PATH $GOPATH/bin:$PATH
17
RUN git config --global url.git@github.com:.insteadOf https://github.com
0 commit comments