Compare commits
2 Commits
b35c971fc7
...
2a0d5db355
Author | SHA1 | Date |
---|---|---|
Thomas Nahuel Rusiecki | 2a0d5db355 | |
Thomas Nahuel Rusiecki | c00929386a |
|
@ -0,0 +1,17 @@
|
|||
|
||||
services:
|
||||
build-iso:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: docker/Dockerfile.build
|
||||
#this is needed for mount
|
||||
privileged: true
|
||||
volumes:
|
||||
- type: bind
|
||||
source: .
|
||||
target: /var/opt
|
||||
read_only: true
|
||||
- type: bind
|
||||
source: ./iso
|
||||
target: /var/opt/iso
|
||||
read_only: false
|
|
@ -0,0 +1,28 @@
|
|||
FROM debian:bookworm-slim
|
||||
|
||||
# Install dependencies
|
||||
RUN apt-get update && apt-get install -y \
|
||||
smartmontools \
|
||||
lshw \
|
||||
hwinfo \
|
||||
dmidecode \
|
||||
python3 \
|
||||
pipenv \
|
||||
sudo \
|
||||
debootstrap \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
WORKDIR /var/opt
|
||||
|
||||
#allow sudo so that deploy-workbench.sh runs
|
||||
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
|
||||
RUN echo "docker ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
|
||||
|
||||
RUN chown -R docker /var/opt/iso
|
||||
|
||||
ENV USER=docker
|
||||
USER docker
|
||||
|
||||
COPY ./deploy-workbench.sh ./
|
||||
ENTRYPOINT sh deploy-workbench.sh
|
|
@ -4,6 +4,13 @@ TIMEOUT 50
|
|||
ONTIMEOUT wb
|
||||
|
||||
MENU TITLE PXE Boot Menu
|
||||
MENU BACKGROUND 0000FF
|
||||
MENU COLOR BORDER 37;44
|
||||
MENU COLOR TITLE 37;44
|
||||
MENU COLOR SEL 0;43
|
||||
MENU COLOR UNSEL 37;44
|
||||
MENU COLOR HELP 37;44
|
||||
|
||||
|
||||
LABEL wb
|
||||
MENU LABEL Boot Workbench
|
||||
|
|
Loading…
Reference in New Issue