Skip to content

Commit 08062ba

Browse files
remove smithy.yaml and takeout unnecessary build args
1 parent 06c21be commit 08062ba

File tree

2 files changed

+2
-25
lines changed

2 files changed

+2
-25
lines changed

Dockerfile

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
FROM drydock-prod.workiva.net/workiva/smithy-runner-golang:121185 as build
22

3-
# Build Environment Vars
4-
ARG BUILD_ID
5-
ARG BUILD_NUMBER
6-
ARG BUILD_URL
7-
ARG GIT_COMMIT
8-
ARG GIT_BRANCH
9-
ARG GIT_TAG
10-
ARG GIT_COMMIT_RANGE
11-
ARG GIT_HEAD_URL
12-
ARG GIT_MERGE_HEAD
13-
ARG GIT_MERGE_BRANCH
143
ARG GIT_SSH_KEY
154
ARG KNOWN_HOSTS_CONTENT
165
WORKDIR /go/src/github.com/Workiva/go-datastructures/
@@ -25,11 +14,10 @@ RUN mkdir /root/.ssh && \
2514
ARG GOPATH=/go/
2615
ENV PATH $GOPATH/bin:$PATH
2716
RUN git config --global [email protected]:.insteadOf https://github.com
28-
RUN if [ -d /usr/local/go_appengine ]; then ENV PATH $PATH:/usr/local/go_appengine; fi
2917
RUN echo "Starting the script section" && \
3018
glide install && \
3119
echo "script section completed"
32-
RUN go get -d ./... && \
33-
go build
20+
3421
ARG BUILD_ARTIFACTS_DEPENDENCIES=/go/src/github.com/Workiva/go-datastructures/glide.lock
22+
3523
FROM scratch

smithy.yaml

-11
This file was deleted.

0 commit comments

Comments
 (0)