Skip to content

Commit f6ea4b2

Browse files
committed
Add Dockerfile.release to build official image
1 parent 86c32ba commit f6ea4b2

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

Dockerfile.release

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#
2+
# Copyright IBM Corporation 2021
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
ARG base_image=rayproject/ray:1.4.0-py38
18+
FROM ${base_image}
19+
20+
COPY --from=docker.io/apache/camel-k:1.4.0 /usr/local/bin/kamel /usr/local/bin/
21+
22+
RUN sudo apt-get update \
23+
&& sudo apt-get install -y --no-install-recommends openjdk-11-jdk maven \
24+
&& sudo rm -rf /var/lib/apt/lists/* \
25+
&& sudo apt-get clean
26+
27+
ARG rayvens_version
28+
RUN pip install rayvens==${rayvens_version}
29+
RUN rayvens-setup.sh --preload

0 commit comments

Comments
 (0)