This commit is contained in:
parent
e07ebb87cb
commit
9cbb233f64
|
@ -6,7 +6,7 @@ RUN useradd -m -s /bin/bash dmdba \
|
|||
&& echo "dmdba:123456" | chpasswd \
|
||||
&& apt-get -y update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
p7zip-full unzip wget \
|
||||
p7zip-full unzip wget sudo \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /config/* /tmp/* /var/lib/apt/lists/* /var/tmp/*
|
||||
WORKDIR /home/dmdba
|
||||
|
@ -19,6 +19,7 @@ RUN wget https://download.dameng.com/eco/adapter/DM8/202405/dm8_20240408_x86_rh7
|
|||
&& 7z x dm8_20240408_x86_rh7_64.iso \
|
||||
&& rm -f dm8_20240408_x86_rh7_64.iso \
|
||||
&& chmod +x DMInstall.bin \
|
||||
&& apt-get remove -y p7zip-full unzip wget
|
||||
&& apt-get remove -y p7zip-full unzip wget \
|
||||
&& usermod -aG sudo dmdba
|
||||
USER dmdba
|
||||
CMD ["/bin/bash", "-e"]
|
|
@ -17,8 +17,8 @@ spec:
|
|||
runAsGroup: 0
|
||||
resources:
|
||||
limits:
|
||||
cpu: '0.2'
|
||||
memory: 0.3Gi
|
||||
cpu: '0.5'
|
||||
memory: 0.5Gi
|
||||
requests:
|
||||
cpu: '0.1'
|
||||
memory: 0.2Gi
|
||||
cpu: '0.3'
|
||||
memory: 0.3Gi
|
|
@ -15,8 +15,8 @@ spec:
|
|||
runAsGroup: 0
|
||||
resources:
|
||||
limits:
|
||||
cpu: '0.2'
|
||||
memory: 0.3Gi
|
||||
cpu: '0.5'
|
||||
memory: 0.5Gi
|
||||
requests:
|
||||
cpu: '0.1'
|
||||
memory: 0.2Gi
|
||||
cpu: '0.3'
|
||||
memory: 0.3Gi
|
Loading…
Reference in New Issue