Skip to content

Commit 1eceb5d

Browse files
authored
[improve][docker] fix yaml and dockerfile (#4186)
Descriptions of the changes in this PR: 1. There are multiple spec.ports fields in sts yaml 2. The RUN command specified in dockerfile is not standardized Master Issue: #4185
1 parent 7b1912f commit 1eceb5d

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

deploy/kubernetes/gke/bookkeeper.statefulset.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ metadata:
124124
app: bookkeeper
125125
component: bookie
126126
spec:
127-
ports:
128127
ports:
129128
- name: bookie
130129
port: 3181

tests/docker-images/statestore-image/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ RUN set -x \
4040
&& apt-get install -y --no-install-recommends python3 pip \
4141
&& ln -s /usr/bin/python3 /usr/bin/python \
4242
&& apt-get install -y --no-install-recommends gpg gpg-agent wget sudo \
43-
&& apt-get -y --purge autoremove \
44-
&& apt-get autoclean \
45-
&& apt-get clean \
46-
&& rm -rf /var/lib/apt/lists/*
43+
&& apt-get -y --purge autoremove \
44+
&& apt-get autoclean \
45+
&& apt-get clean \
46+
&& rm -rf /var/lib/apt/lists/* \
4747
&& pip install zk-shell \
4848
&& mkdir -pv /opt \
4949
&& cd /opt

0 commit comments

Comments
 (0)