diff --git a/docker/base-dm/Dockerfile b/docker/base-dm/Dockerfile index 8253d21..8900232 100644 --- a/docker/base-dm/Dockerfile +++ b/docker/base-dm/Dockerfile @@ -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"] \ No newline at end of file diff --git a/python/assets/type0-pod.yaml b/python/assets/type0-pod.yaml index a500d68..025d8fa 100644 --- a/python/assets/type0-pod.yaml +++ b/python/assets/type0-pod.yaml @@ -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 \ No newline at end of file + cpu: '0.3' + memory: 0.3Gi \ No newline at end of file diff --git a/python/assets/type1-pod.yaml b/python/assets/type1-pod.yaml index dec4808..268be01 100644 --- a/python/assets/type1-pod.yaml +++ b/python/assets/type1-pod.yaml @@ -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 \ No newline at end of file + cpu: '0.3' + memory: 0.3Gi \ No newline at end of file