Skip to content

Commit

Permalink
build: Fix local development docker environment
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsbasjes committed Oct 10, 2024
1 parent 7b5b11e commit 5e7ca9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion devtools/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ RUN wget https://github.com/koalaman/shellcheck/releases/download/v${SHELLCHECK_

# --------------------------------
# Install Hugo ( https://github.com/gohugoio/hugo/releases )
ENV HUGO_VERSION=0.121.1
ENV HUGO_VERSION=0.135.0
WORKDIR /usr/local/bin
RUN wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz && \
tar xzf hugo_${HUGO_VERSION}_Linux-64bit.tar.gz && \
Expand Down
3 changes: 2 additions & 1 deletion devtools/docker/configure-for-user.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ USER_NAME=$1
USER_ID=$2
GROUP_ID=$3


# If you are on a normal Ubuntu then you have uid 1000 ... which is already in use in the Ubuntu image
userdel -f ubuntu
groupadd --non-unique -g "${GROUP_ID}" "${USER_NAME}"
useradd -g "${GROUP_ID}" -u "${USER_ID}" -k /root -m "${USER_NAME}"

Expand Down

0 comments on commit 5e7ca9f

Please sign in to comment.