Skip to content

Commit

Permalink
Merge pull request #80 from emiko47:personal
Browse files Browse the repository at this point in the history
Group #1 added tools
  • Loading branch information
growlf authored Feb 15, 2024
2 parents d2418eb + fc9bc32 commit 5dacf40
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
21 changes: 14 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,28 @@ RUN apt-get -yq install --no-install-recommends \
tcpdump traceroute iproute2 dnsutils whois mtr iftop iputils-ping wget nmap netcat-traditional \
procps \
htop \
# Clean up
&& apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
screen tmux \
unzip zip \
jq \
build-essential \
software-properties-common \
tree \
lsof \
fish \
&& sh -c "curl -fsSL https://starship.rs/install.sh | bash -s -- --yes" \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

# ensure that there is a place to mount the host files
RUN mkdir /host

# Set tthe working directory for installations and login
# Set the working directory for installations and login
WORKDIR /app

# Copy in any/all additional files from our project
ADD src/requirements.txt .

# Istall Python basic libraries
# Install Python basic libraries
RUN python3 -m pip install --no-cache-dir -r requirements.txt

# Setup a user to match the host and reduce the frustration/confusion of file ownership
Expand Down Expand Up @@ -92,4 +99,4 @@ ADD --chown=1000:1000 --chmod=+x src/test_net.sh .
ADD --chown=1000:1000 src/nodes.list .

# Set default command
CMD ["/bin/zsh"]
CMD ["/bin/zsh"]
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ Some possible tasks to add-to/replace the default options:
- setup a reverse proxy for remote shell (outbond from container host to remote support system)
- create a container project from defined template


## Use with Portainer

Use the `portainer-compose.yml` file and modify to your hearts content.

## Notes

- https://ohmyz.sh/#install
Expand Down

0 comments on commit 5dacf40

Please sign in to comment.