Skip to content

Commit

Permalink
Adds Base Ubuntu image
Browse files Browse the repository at this point in the history
Adds Base Ubuntu image
  • Loading branch information
MerlynTheWizard authored Aug 1, 2024
1 parent 69b8760 commit ca18eba
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/base-ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM ubuntu

RUN apt-get update
COPY requirements.txt .
RUN apt-get install -y $(cat requirements.txt)

ENV TEST_KEY=
ENV SECOND_KEY=
COPY healthy .
COPY readme.sh .

CMD rm requirements.txt; sleep 500000000
1 change: 1 addition & 0 deletions src/base-ubuntu/healthy
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
200
2 changes: 2 additions & 0 deletions src/base-ubuntu/readme.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
echo -e "Unsure where to start? This image has included:\n\nExample Environment Variable definitions.\n Running "echo $TEST_KEY" or "echo $SECOND_KEY" will echo the example Environment Variables defined for your container group.\n\nCurl. Try curling!\n\nNvidia-smi. For checking that sweet sweet GPU model.\n\nPing. Try pinging a URL.\n\nNano. For editing and accidentally breaking a file.\n\nNeofetch. So you can see what you're running on.\n\nBtop. To see all running processes and system statistics."
5 changes: 5 additions & 0 deletions src/base-ubuntu/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
curl
neofetch
iputils-ping
nano
btop

0 comments on commit ca18eba

Please sign in to comment.