File tree Expand file tree Collapse file tree 2 files changed +23
-11
lines changed Expand file tree Collapse file tree 2 files changed +23
-11
lines changed Original file line number Diff line number Diff line change 1+ FROM drydock-prod.workiva.net/workiva/smithy-runner-golang:121185 as build
2+
3+ ARG GIT_SSH_KEY
4+ ARG KNOWN_HOSTS_CONTENT
5+ WORKDIR /go/src/github.com/Workiva/go-datastructures/
6+ ADD . /go/src/github.com/Workiva/go-datastructures/
7+
8+ RUN mkdir /root/.ssh && \
9+ echo "$KNOWN_HOSTS_CONTENT" > "/root/.ssh/known_hosts" && \
10+ chmod 700 /root/.ssh/ && \
11+ umask 0077 && echo "$GIT_SSH_KEY" >/root/.ssh/id_rsa && \
12+ eval "$(ssh-agent -s)" && ssh-add /root/.ssh/id_rsa
13+
14+ ARG GOPATH=/go/
15+ ENV PATH $GOPATH/bin:$PATH
16+ RUN git config --global
[email protected] :.insteadOf https://github.com
17+ RUN echo "Starting the script section" && \
18+ glide install && \
19+ echo "script section completed"
20+
21+ ARG BUILD_ARTIFACTS_DEPENDENCIES=/go/src/github.com/Workiva/go-datastructures/glide.lock
22+
23+ FROM scratch
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments