Merge pull request #33 from netbootxyz/alpine_317

Update to Alpine 3.17
This commit is contained in:
Antony Messerli 2023-01-19 00:58:07 -06:00 committed by GitHub
commit 5403acba6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM alpine:3.16
FROM alpine:3.17
# set version label
ARG BUILD_DATE
@ -44,7 +44,6 @@ RUN \
tar xf \
/tmp/webapp.tar.gz -C \
/app/ --strip-components=1 && \
npm config set unsafe-perm true && \
npm install --prefix /app
ENV TFTPD_OPTS=''

View File

@ -23,6 +23,7 @@ priority = 3
[program:in.tftpd]
command=/usr/sbin/in.tftpd -Lvvv --user nbxyz --secure %(ENV_TFTPD_OPTS)s /config/menus
user=nbxyz
stdout_logfile=/config/tftpd.log
redirect_stderr=true
priority = 4

6
scripts/shell.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
echo Building local core environment image...
docker build -t docker-netbootxyz .
echo Entering docker-netbootxyz shell... type exit to leave container...
docker run -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/shell -t -i docker-netbootxyz /bin/bash