diff --git a/docker/gitea/Dockerfile b/docker/gitea/Dockerfile index ecddeb9c2b..37e7b5670e 100644 --- a/docker/gitea/Dockerfile +++ b/docker/gitea/Dockerfile @@ -22,11 +22,11 @@ ################################### #Build stage -FROM docker.io/library/golang:1.14-buster AS build-env +FROM docker.io/library/golang:1.15-buster AS build-env LABEL maintainer="infra-root@openstack.org" -ARG GITEA_VERSION="v1.12.5" +ARG GITEA_VERSION="v1.13.1" ENV TAGS "bindata $TAGS" #Build deps @@ -104,9 +104,12 @@ USER 1000:1000 # The openssh server image FROM base as gitea-openssh +# We enable backports here to install newer openssh which includes +# support for options that gitea's ssh configuration expects +RUN echo 'deb http://deb.debian.org/debian buster-backports main' > /etc/apt/sources.list.d/backports.list RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::="--force-confold" \ - install openssh-server \ + -t buster-backports install openssh-server \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* \ && mkdir /run/sshd diff --git a/docker/gitea/custom/public/img/favicon.svg b/docker/gitea/custom/public/img/favicon.svg new file mode 100644 index 0000000000..6597b83bf2 --- /dev/null +++ b/docker/gitea/custom/public/img/favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docker/gitea/custom/templates/base/head_navbar.tmpl b/docker/gitea/custom/templates/base/head_navbar.tmpl index c518df60ae..485da790f1 100644 --- a/docker/gitea/custom/templates/base/head_navbar.tmpl +++ b/docker/gitea/custom/templates/base/head_navbar.tmpl @@ -50,7 +50,7 @@ {{.i18n.Tr "user_profile_and_more"}} {{.SignedUser.Name}} - {{svg "octicon-triangle-down" 16}} + {{svg "octicon-triangle-down"}}