Skip to content

Commit

Permalink
fix: squash the layers for more container squeeze
Browse files Browse the repository at this point in the history
  • Loading branch information
donkeyx committed Jun 18, 2024
1 parent ef41e83 commit a0973c2
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Description: Dockerfile for the Sleeper service
# Description: This is a utility container with all the tools needed for testing clusters and networks
FROM debian:bookworm-slim

# Metadata
Expand All @@ -16,23 +16,8 @@ COPY ./*.sh /app/
# Update and install basic tools
RUN apt-get update && apt-get install -y \
dnsutils netcat-openbsd curl wget tar gnupg vim tmux zsh screenfetch && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Install database clients
RUN apt-get update && apt-get install -y \
postgresql-client redis-tools && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Install programming languages and tools
RUN apt-get update && apt-get install -y \
git golang && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN apt-get update && apt-get install -y \
nodejs npm && \
git golang nodejs npm && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit a0973c2

Please sign in to comment.