Commit 80365350 authored by Bernhard Geier's avatar Bernhard Geier
Browse files

fixes

parent 81376eaf
......@@ -2,7 +2,12 @@ FROM golang:bullseye
# build dependencies
RUN apt-get update && \
apt-get install -y --no-install-recommends git build-essential curl jq nodejs npm libpam-dev && \
apt-get install -y --no-install-recommends git build-essential curl jq libpam-dev && \
rm -rf /var/lib/apt/lists/*
# install nodejs 14 from nodesource repository
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
apt-get install -y --no-install-recommends nodejs && \
rm -rf /var/lib/apt/lists/*
# copy build script
......
......@@ -31,7 +31,7 @@ git pull || exit 1
CGO_ENABLED=1 TAGS="bindata netgo osusergo $EXTRA_TAGS" make build || exit 1
# move result to directory "binary"
VERSION=$(/source/gitea --version | sed 's/.*version \([0-9\.]*\) .*/\1/') || exit 1
VERSION=$(/source/gitea --version | cut -d ' ' -f 3) || exit 1
mv /source/gitea /binary/gitea-${VERSION} || exit 1
echo
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment