Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cs3org/revad-eos image #1386

Merged
merged 3 commits into from
Jan 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.github
.git
changelog
docs
examples
grpc-tests
tests
tools
vendor-bin
*.md
50 changes: 46 additions & 4 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ steps:

- name: publish-docker-reva-latest
pull: always
image: registry.cern.ch/docker.io/plugins/docker
image: plugins/docker
settings:
repo: cs3org/reva
tags: latest
Expand All @@ -74,10 +74,13 @@ steps:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
custom_dns:
- 128.142.17.5
- 128.142.16.5

- name: publish-docker-revad-latest
pull: always
image: registry.cern.ch/docker.io/plugins/docker
image: plugins/docker
settings:
repo: cs3org/revad
tags: latest
Expand All @@ -86,6 +89,24 @@ steps:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
custom_dns:
- 128.142.17.5
- 128.142.16.5

- name: publish-docker-revad-eos-latest
pull: always
image: plugins/docker
settings:
repo: cs3org/revad-eos
tags: latest
dockerfile: Dockerfile.revad-eos
username:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
custom_dns:
- 128.142.17.5
- 128.142.16.5

---
kind: pipeline
Expand Down Expand Up @@ -202,7 +223,7 @@ steps:

- name: docker-reva-tag
pull: always
image: registry.cern.ch/docker.io/plugins/docker
image: plugins/docker
settings:
repo: cs3org/reva
tags: ${DRONE_TAG}
Expand All @@ -211,10 +232,13 @@ steps:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
custom_dns:
- 128.142.17.5
- 128.142.16.5

- name: docker-revad-tag
pull: always
image: registry.cern.ch/docker.io/plugins/docker
image: plugins/docker
settings:
repo: cs3org/revad
tags: ${DRONE_TAG}
Expand All @@ -223,6 +247,24 @@ steps:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
custom_dns:
- 128.142.17.5
- 128.142.16.5

- name: docker-revad-eos-tag
pull: always
image: plugins/docker
settings:
repo: cs3org/revad-eos
tags: ${DRONE_TAG}
dockerfile: Dockerfile.revad-eos
username:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
custom_dns:
- 128.142.17.5
- 128.142.16.5

---
kind: pipeline
Expand Down
28 changes: 28 additions & 0 deletions Dockerfile.revad-eos
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright 2018-2021 CERN
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# In applying this license, CERN does not waive the privileges and immunities
# granted to it by virtue of its status as an Intergovernmental Organization
# or submit itself to any jurisdiction.
FROM golang:1.15 as builder

WORKDIR /go/src/github/cs3org/reva
COPY . .
RUN make build-revad-docker && \
cp /go/src/github/cs3org/reva/cmd/revad/revad /go/bin/revad

FROM gitlab-registry.cern.ch/dss/eos:c8_4.8.15
RUN mkdir -p /usr/local/bin
COPY --from=builder /go/bin/revad /go/bin/
RUN chmod +x /go/bin/revad
6 changes: 6 additions & 0 deletions changelog/unreleased/revad-eos-docker-image.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Enhancement: Docker image for cs3org/revad-eos

Based on eos:c8_4.8.15 (Centos8, version 4.8.15). To be used when the
Reva daemon needs IPC with xrootd/eos via stdin/out.

https://github.com/cs3org/reva/pull/1386