Sha256: 2a23a5c7dfc9046749b5d091cd8d564c37b3ecb060e90c39df1c85ae459d24e7

Contents?: true

Size: 1.01 KB

Versions: 1

Compression:

Stored size: 1.01 KB

Contents

FROM opensuse:42.1
MAINTAINER Cornelius Schumacher <schumacher@kde.org>

run zypper --non-interactive install  ca-certificates-mozilla

RUN zypper --non-interactive install curl
RUN zypper --non-interactive install ruby
RUN zypper --non-interactive install --no-recommends osc

# Dependencies for yes_ship_it
RUN zypper --non-interactive install ruby2.1-rubygem-inifile ruby2.1-rubygem-rest-client
RUN zypper --non-interactive install git

# Configuration for OBS client
COPY oscrc /root/.oscrc

COPY certificates/rubygems.crt /etc/pki/trust/anchors/rubygems.pem
COPY certificates/api.rubygems.crt /etc/pki/trust/anchors/api.rubygems.pem
COPY certificates/obs.crt /etc/pki/trust/anchors/obs.pem

RUN update-ca-certificates

COPY run_test.rb /run_test.rb

# Configuration for gem
RUN mkdir /root/.gem
RUN echo ":rubygems_api_key: 123" >/root/.gem/credentials
RUN chmod 0600 /root/.gem/credentials

# Configuration for git
RUN git config --global user.email "hw@example.com"
RUN git config --global user.name "Hans Wurst"

CMD /run_test.rb

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
httpotemkin-0.0.4 containers/client/Dockerfile