Skip to content

Commit a0d0ce8

Browse files
committed
chore(ci): add dockerfile as a base for building in CI
1 parent 00eab85 commit a0d0ce8

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

base.Dockerfile

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
1-
FROM golang:1.10 as builder
2-
WORKDIR /go/src/github.com/operator-framework/operator-lifecycle-manager
1+
# Dockerfile to bootstrap build and test in openshift-ci
32

4-
# SSH key to fetch operator-client dependency. should be base64 encoded
5-
# "--build-arg sshkey=`cat ~/.ssh/robot_rsa | base64 -w0`"
6-
ARG sshkey
7-
RUN mkdir -p ~/.ssh
8-
RUN apt-get install make git openssh-client gcc g++
3+
FROM openshift/origin-release:golang-1.13
94

10-
RUN echo $sshkey | base64 -d > ~/.ssh/id_rsa \
11-
&& chmod 400 ~/.ssh/id_rsa \
12-
&& ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
5+
RUN yum install -y skopeo

0 commit comments

Comments
 (0)