Skip to content

Commit 0be9630

Browse files
Do we even need this?
1 parent d5501df commit 0be9630

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Dockerfile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
1-
FROM drydock-prod.workiva.net/workiva/platform:v0
21
FROM golang:1.16-alpine3.13 AS build-go
32

43
ARG GIT_SSH_KEY
54
ARG KNOWN_HOSTS_CONTENT
65
WORKDIR /go/src/github.com/Workiva/go-datastructures/
76
ADD . /go/src/github.com/Workiva/go-datastructures/
87

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-
158
ARG GOPATH=/go/
169
ENV PATH $GOPATH/bin:$PATH
1710
RUN git config --global url.git@github.com:.insteadOf https://github.com

0 commit comments

Comments
 (0)