File tree Expand file tree Collapse file tree 5 files changed +20
-19
lines changed Expand file tree Collapse file tree 5 files changed +20
-19
lines changed Original file line number Diff line number Diff line change 1
- FROM noobaa-builder
1
+ FROM noobaa-builder AS noobaa-base
2
2
3
3
# #####################################################################
4
4
# Layers:
Original file line number Diff line number Diff line change 1
1
ARG CENTOS_VER=9
2
- FROM noobaa-base as server_builder
2
+ FROM noobaa-base AS server_builder
3
3
4
4
RUN mkdir -p /noobaa_init_files && \
5
5
cp -p ./build/Release/kube_pv_chown /noobaa_init_files
@@ -39,18 +39,18 @@ RUN tar \
39
39
# Cache: Rebuild when any layer is changing
40
40
# #############################################################
41
41
42
- FROM quay.io/centos/centos:stream${CENTOS_VER}
42
+ FROM quay.io/centos/centos:stream${CENTOS_VER} AS noobaa
43
43
44
44
# The ports are overridden for Ceph Test later
45
- ENV container docker
46
- ENV PORT 8080
47
- ENV SSL_PORT 8443
48
- ENV ENDPOINT_PORT 6001
49
- ENV ENDPOINT_SSL_PORT 6443
50
- ENV WEB_NODE_OPTIONS ''
51
- ENV BG_NODE_OPTIONS ''
52
- ENV HOSTED_AGENTS_NODE_OPTIONS ''
53
- ENV ENDPOINT_NODE_OPTIONS ''
45
+ ENV container= docker
46
+ ENV PORT= 8080
47
+ ENV SSL_PORT= 8443
48
+ ENV ENDPOINT_PORT= 6001
49
+ ENV ENDPOINT_SSL_PORT= 6443
50
+ ENV WEB_NODE_OPTIONS= ''
51
+ ENV BG_NODE_OPTIONS= ''
52
+ ENV HOSTED_AGENTS_NODE_OPTIONS= ''
53
+ ENV ENDPOINT_NODE_OPTIONS= ''
54
54
55
55
# #############################################################
56
56
# Layers:
@@ -153,7 +153,7 @@ EXPOSE 27000
153
153
EXPOSE 26050
154
154
155
155
# Needs to be added only after installing jemalloc in dependencies section (our env section is before) - otherwise it will fail
156
- ENV LD_PRELOAD /usr/lib64/libjemalloc.so.2
156
+ ENV LD_PRELOAD= /usr/lib64/libjemalloc.so.2
157
157
158
158
# RUN mkdir -p /nsfs/fs1/amitpb && chmod -R 777 /nsfs/
159
159
# RUN mkdir -p /nsfsAA/fs1/amitpb && chmod -R 777 /nsfsAA/
Original file line number Diff line number Diff line change 1
- FROM noobaa
1
+ FROM noobaa AS noobaa-tester
2
2
3
3
USER 0:0
4
4
5
- ENV container docker
6
- ENV TEST_CONTAINER true
5
+ ENV container= docker
6
+ ENV TEST_CONTAINER= true
7
7
8
8
# #############################################################
9
9
# Layers:
@@ -13,6 +13,7 @@ ENV TEST_CONTAINER true
13
13
# #############################################################
14
14
15
15
RUN dnf config-manager --enable crb || true
16
+ RUN dnf clean all
16
17
17
18
RUN dnf group install -y -q "Development Tools" && \
18
19
dnf install -y -q --nogpgcheck vim \
@@ -62,7 +63,7 @@ COPY .eslintignore /root/node_modules/noobaa-core
62
63
# Making mocha accessible
63
64
RUN ln -s /root/node_modules/noobaa-core/node_modules/mocha/bin/mocha.js /usr/local/bin
64
65
65
- ENV SPAWN_WRAP_SHIM_ROOT /data
66
+ ENV SPAWN_WRAP_SHIM_ROOT= /data
66
67
RUN mkdir -p /data && \
67
68
chgrp -R 0 /data && \
68
69
chmod -R g=u /data
Original file line number Diff line number Diff line change 1
1
ARG CENTOS_VER=9
2
- FROM quay.io/centos/centos:stream${CENTOS_VER}
2
+ FROM quay.io/centos/centos:stream${CENTOS_VER} AS noobaa-builder
3
3
# Needs to reapply ARG, it was cleaned by FROM command.
4
4
ARG CENTOS_VER
5
5
LABEL maintainer="Liran Mauda (lmauda@redhat.com)"
Original file line number Diff line number Diff line change 2
2
ARG CENTOS_VER=9
3
3
FROM quay.io/centos/centos:stream${CENTOS_VER}
4
4
5
- ENV container docker
5
+ ENV container= docker
6
6
7
7
RUN dnf update -y -q && \
8
8
dnf install -y -q \
You can’t perform that action at this time.
0 commit comments