0.1 commit
This commit is contained in:
parent
ba81b11579
commit
ab9607b7f1
8 changed files with 655 additions and 44 deletions
|
|
@ -40,7 +40,7 @@ RUN mkdir -p /var/run/sshd && \
|
|||
|
||||
# Fastfetch config for micro (optional flair)
|
||||
RUN mkdir -p /home/micro/.config/fastfetch
|
||||
COPY fastfetch_config.json /home/micro/.config/fastfetch/config.json
|
||||
COPY fastfetch_config.json /home/micro/.config/fastfetch/config.jsonc
|
||||
RUN chown -R micro:micro /home/micro/.config && \
|
||||
echo 'if command -v fastfetch >/dev/null 2>&1; then fastfetch; fi' >> /home/micro/.bashrc && \
|
||||
chown micro:micro /home/micro/.bashrc
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
#!/bin/bash
|
||||
#echo $(basename $(pwd))
|
||||
docker build -t $(basename $(pwd)):latest .
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
IMAGE_NAME="$(basename "$(pwd)")"
|
||||
|
||||
echo "Building Docker image: ${IMAGE_NAME}:latest"
|
||||
docker build -t "${IMAGE_NAME}:latest" .
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue