Skip to content

Commit

Permalink
chore: Update Dockerfile to use Alpine instead of Debian and install …
Browse files Browse the repository at this point in the history
…btop dependencies with apk
  • Loading branch information
dragonfire1119 committed Jul 19, 2024
1 parent 65c53d0 commit 3475a29
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions btop/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
FROM debian:latest
FROM alpine:latest

# Install required packages for building gotty and running btop
RUN apt-get update && apt-get install -y \
RUN apk add --no-cache \
btop \
procps \
curl \
iproute2 \
git \
golang-go \
&& apt-get clean
go

# Clone, build, and install gotty
RUN git clone https://github.com/sorenisanerd/gotty.git /tmp/gotty && \
Expand Down

0 comments on commit 3475a29

Please sign in to comment.