Skip to content

Commit

Permalink
chore: Add debugging and system utilities to Dockerfile
Browse files Browse the repository at this point in the history
Enhance the final Docker image by installing additional system utilities for improved debugging and troubleshooting capabilities, including network, process, and text manipulation tools
  • Loading branch information
tphakala committed Feb 16, 2025
1 parent b98c086 commit d1f568e
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,25 @@ RUN --mount=type=cache,target=/go/pkg/mod,uid=10001,gid=10001 \
# Create final image using a multi-platform base image
FROM --platform=$TARGETPLATFORM debian:bookworm-slim

Check warning on line 54 in Dockerfile

View workflow job for this annotation

GitHub Actions / test-docker-image

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 54 in Dockerfile

View workflow job for this annotation

GitHub Actions / push-docker-image

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

# Install ALSA library and SOX
# Install ALSA library and SOX for audio processing, and other system utilities for debugging
RUN apt-get update -q && apt-get install -q -y --no-install-recommends \
ca-certificates \
libasound2 \
ffmpeg \
sox
sox \
procps \
iproute2 \
net-tools \
curl \
wget \
nano \
vim \
less \
tzdata \
jq \
strace \
lsof \
bash-completion

# Clean up apt cache
RUN rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit d1f568e

Please sign in to comment.