Gogs GIT Web UI for Armhf devices
1.3K
built using the following Dockerfile:
[code] FROM armhf/ubuntu:14.04
ENV DEBIAN_FRONTEND noninteractive
RUN sed 's/main$/main universe multiverse/' -i /etc/apt/sources.list &&
apt-get update && apt-mark hold initscripts &&
apt-get install -y sudo openssh-server git unzip sqlite3 &&
apt-get clean
EXPOSE 22 3000
RUN addgroup --gid 501 git && adduser --uid 501 --gid 501 --disabled-password --gecos 'git' git && adduser git sudo
RUN cd /home/git && wget --progress=bar https://dl.gogs.io/gogs_v0.8.43_linux_arm.zip && unzip gogs_v0.8.43_linux_arm.zip && rm gogs_v0.8.43_linux_arm.zip
RUN mkdir -p /home/git/gogs/custom/conf
ADD boot /home/git/boot RUN chmod +x /home/git/boot
ADD app.ini /home/git/gogs/custom/conf/app.ini
RUN mkdir /home/git/.ssh
RUN chown -R git:git /home/git
WORKDIR /home/git
ENV HOME /home/git
ENTRYPOINT ["/home/git/boot"] [/code]
boot: [code] #!/bin/bash
sudo -u git -H touch /home/git/.ssh/authorized_keys chmod 700 /home/git/.ssh && chmod 600 /home/git/.ssh/authorized_keys
mkdir /var/run/sshd /usr/sbin/sshd -D &
exec sudo -u git /home/git/gogs/gogs web [/code]
app.ini: [code] [repository] ROOT = /home/git/repositories
[database] PATH = /home/git/gogs/gogs.db [/code]
Content type
Unrecognized
Digest
Size
125.2 MB
Last updated
about 10 years ago
docker pull sstruss/gogs-armhf