Skip to content

Commit

Permalink
chore: Update Fastfetch Dockerfile to use Alpine instead of Ubuntu an…
Browse files Browse the repository at this point in the history
…d optimize package installation
  • Loading branch information
dragonfire1119 committed Jul 20, 2024
1 parent 2e80ea3 commit 52e77fc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
18 changes: 8 additions & 10 deletions fastfetch/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
FROM ubuntu:22.04
FROM alpine:latest

# Install required packages and add the PPA for fastfetch
RUN apt-get update && \
apt-get install -y software-properties-common && \
add-apt-repository ppa:zhangsongcui3371/fastfetch && \
apt-get update && \
apt-get install -y \
# Install required packages
RUN apk update && \
apk add --no-cache \
bash \
procps \
curl \
iproute2 \
git \
golang-go \
go \
vim \
fastfetch \
&& apt-get clean
&& rm -rf /var/cache/apk/*

# Clone, build, and install gotty
RUN git clone https://github.com/sorenisanerd/gotty.git /tmp/gotty && \
Expand All @@ -29,5 +27,5 @@ ENV LANG C.UTF-8
# Expose the port gotty will run on
EXPOSE 7681

# Start gotty and run ncdu with the specified path
# Start gotty and run fastfetch
CMD ["gotty", "-p", "7681", "-w", "fastfetch"]
2 changes: 1 addition & 1 deletion fastfetch/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.1
0.0.2
2 changes: 0 additions & 2 deletions fastfetch/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.8" # Specify the version of the Docker Compose file format

services:
# Define the service named 'big-bear-fastfetch'
big-bear-fastfetch:
Expand Down

0 comments on commit 52e77fc

Please sign in to comment.