building an debian-stable image
This commit is contained in:
@@ -3,7 +3,7 @@ FROM debian:stable-slim
|
||||
RUN sed -i 's@deb.debian.org@apt-cache.lan/deb.debian.org@g' /etc/apt/sources.list && \
|
||||
sed -i 's@security.debian.org@apt-cache.lan/security.debian.org@g' /etc/apt/sources.list && \
|
||||
apt-get update && apt-get install -y \
|
||||
dig procps nmap bash iputils-ping && \
|
||||
dnsutils procps nmap bash iputils-ping && \
|
||||
apt-get clean -y && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
rm -rf /var/cache/apt/*
|
||||
28
_CI-CD/debian-stable/deployment.yaml
Normal file
28
_CI-CD/debian-stable/deployment.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: debian-stable
|
||||
labels:
|
||||
app: debian-stable
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: debian-stable
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: debian-stable
|
||||
spec:
|
||||
containers:
|
||||
- name: debian-stable
|
||||
image: cr.lan/debian-stable:latest
|
||||
resources:
|
||||
requests:
|
||||
memory: "24Mi"
|
||||
cpu: "50m"
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
cpu: "100m"
|
||||
Reference in New Issue
Block a user