Skip to content

Commit

Permalink
Caj shrink image (#14)
Browse files Browse the repository at this point in the history
* Patch netlink for 4.9 kernel

Signed-off-by: Chris Adeniyi-Jones <[email protected]>

* Update chart for new version of image

Signed-off-by: Chris Adeniyi-Jones <[email protected]>

* Update chart for new version of image

Signed-off-by: Chris Adeniyi-Jones <[email protected]>

* Switch to Alpine base image

Signed-off-by: Chris Adeniyi-Jones <[email protected]>

* Update to v1.34.2 (new version of base image)

Signed-off-by: Chris Adeniyi-Jones <[email protected]>

* Update chart to use new base image

Signed-off-by: Chris Adeniyi-Jones <[email protected]>

* Compile with go 1.19

Signed-off-by: Chris Adeniyi-Jones <[email protected]>

* Update yaml and chart to use new base image

Signed-off-by: Chris Adeniyi-Jones <[email protected]>

* Update two modules (CVE fixes)

Signed-off-by: Chris Adeniyi-Jones <[email protected]>

* Update versions

Signed-off-by: Chris Adeniyi-Jones <[email protected]>

Signed-off-by: Chris Adeniyi-Jones <[email protected]>
  • Loading branch information
cadeniyi authored Nov 23, 2022
1 parent 4bd7907 commit 317cebf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ WORKDIR /root

RUN git clone https://github.com/containernetworking/plugins.git
WORKDIR plugins
COPY my_patch .
RUN git apply my_patch

WORKDIR /root

WORKDIR /root/plugins

RUN go get golang.org/x/[email protected] && go get github.com/vishvananda/[email protected] && go mod tidy && go mod vendor
RUN CGO_ENABLED=0 ./build_linux.sh

FROM alpine:latest
Expand Down
4 changes: 2 additions & 2 deletions charts/smarter-cni/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: smarter-cni
description: smarter-cni chart for SMARTER edge devices
home: https://getsmarter.io
version: 0.0.7
appVersion: v1.34.3
version: 0.0.8
appVersion: v1.34.4
kubeVersion: ">=1.16.0-0"
keywords:
- kubernetes
Expand Down
2 changes: 1 addition & 1 deletion smartercni_ds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
effect: "NoSchedule"
containers:
- name: smarter-cni
image: ghcr.io/smarter-project/smarter-cni:v1.34.3
image: ghcr.io/smarter-project/smarter-cni:v1.34.4
imagePullPolicy: Always
securityContext:
capabilities:
Expand Down

0 comments on commit 317cebf

Please sign in to comment.