Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Commit

Permalink
Non root docker images and upgrade version to v0.12.5 (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
montaro authored Dec 2, 2020
1 parent f4713dd commit 1e8d425
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 7 deletions.
4 changes: 3 additions & 1 deletion components/channel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ RUN mkdir -p lib64 \


# Create The Final Docker Container From Google's Distroless Base
FROM gcr.io/distroless/base
FROM gcr.io/distroless/base:nonroot

USER 1000:1000

# Manage malloc and os thread count that can execute go code.
ENV MALLOC_ARENA_MAX=1 GOMAXPROCS=1
Expand Down
2 changes: 1 addition & 1 deletion components/channel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ BUILD_TESTS:=true

# Application Names (Align With Knative Eventing Version)
APP_NAME=knative-kafka-channel
APP_VERSION=v0.12.3
APP_VERSION=v0.12.5

# Build / Packaging / Deployment Configuration
APP_PATH=eu.gcr.io/kyma-project/incubator
Expand Down
2 changes: 1 addition & 1 deletion components/common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ BUILD_DIR:=$(BUILD_ROOT)/build

# Application Names (Align With Knative Eventing Version)
APP_NAME=knative-kafka-common
APP_VERSION=v0.12.3
APP_VERSION=v0.12.5

# Build / Packaging / Deployment Configuration
APP_TAG=$(APP_NAME):$(APP_VERSION)
Expand Down
4 changes: 3 additions & 1 deletion components/controller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ RUN mkdir -p lib64 \


# Create Docker Container From Google's distroless base
FROM gcr.io/distroless/base
FROM gcr.io/distroless/base:nonroot

USER 1000:1000

# Manage malloc and os thread count that can execute go code.
ENV MALLOC_ARENA_MAX=1 GOMAXPROCS=1
Expand Down
2 changes: 1 addition & 1 deletion components/controller/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ BUILD_TESTS:=true

# Application Names (Align With Knative Eventing Version)
APP_NAME=kafka-channel-controller
APP_VERSION=v0.12.3
APP_VERSION=v0.12.5

# Build / Packaging / Deployment Configuration
APP_PATH=eu.gcr.io/kyma-project/incubator
Expand Down
4 changes: 3 additions & 1 deletion components/dispatcher/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ RUN mkdir -p lib64 \
&& cp /lib64/ld-linux-x86-64.so.2 lib64/ld-linux-x86-64.so.2

# Create Docker Container From Google's distroless base
FROM gcr.io/distroless/base
FROM gcr.io/distroless/base:nonroot

USER 1000:1000

# Manage malloc and os thread count that can execute go code.
ENV MALLOC_ARENA_MAX=1 GOMAXPROCS=1
Expand Down
2 changes: 1 addition & 1 deletion components/dispatcher/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ BUILD_TESTS:=true

# Application Names (Align With Knative Eventing Version)
APP_NAME=knative-kafka-dispatcher
APP_VERSION=v0.12.3
APP_VERSION=v0.12.5

# Build / Packaging / Deployment Configuration
APP_PATH=eu.gcr.io/kyma-project/incubator
Expand Down

0 comments on commit 1e8d425

Please sign in to comment.