Skip to content

Commit

Permalink
docker: use -slim base image for debian
Browse files Browse the repository at this point in the history
The hope is to reduce image size. This might need further adjustments to
explicitly include packages that were implicit before.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
  • Loading branch information
lsf37 committed Mar 16, 2024
1 parent 7f07b47 commit 120c213
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ DOCKER ?= docker
DOCKERHUB ?= trustworthysystems/

# Base images
DEBIAN_IMG ?= debian:bullseye
DEBIAN_IMG ?= debian:bullseye-slim
BASETOOLS_IMG ?= base_tools

# Core images
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/base_tools.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: BSD-2-Clause
#

ARG BASE_IMG=debian:bullseye
ARG BASE_IMG=debian:bullseye-slim
# hadolint ignore=DL3006
FROM $BASE_IMG
LABEL ORGANISATION="Trustworthy Systems"
Expand Down

0 comments on commit 120c213

Please sign in to comment.