Skip to content

Commit

Permalink
feat: upgrade to NUT v3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
shawly committed Aug 22, 2021
1 parent ccfa498 commit f5f8a93
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ARG S6_OVERLAY_BASE_URL=https://github.com/just-containers/s6-overlay/releases/d

# Set NUT vars
ARG NUT_REPO=https://github.com/blawar/nut.git
ARG NUT_BRANCH=master
ARG NUT_BRANCH=v3.3

# Set base images with s6 overlay download variable (necessary for multi-arch building via GitHub workflows)
FROM python:${PYTHON_VERSION} as python-amd64
Expand Down Expand Up @@ -93,8 +93,7 @@ RUN \
useradd -u 1000 -U -M -s /bin/false nut && \
usermod -G users nut && \
echo "Cloning nut..." && \
git clone --depth 1 ${NUT_REPO} /nut && \
git checkout ${NUT_BRANCH} && \
git clone --depth 1 --branch ${NUT_BRANCH} ${NUT_REPO} /nut && \
mkdir -p /nut/_NSPOUT /nut/titles && \
chown -R nut:nut /nut && \
mv -v /nut/conf /nut/conf_template && \
Expand Down

0 comments on commit f5f8a93

Please sign in to comment.