1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 05:48:42 +00:00

upgrade gogs-arm to 0.9.48

This commit is contained in:
kev 2016-07-29 00:07:14 +08:00
parent 5d7330357a
commit e9926eba17
3 changed files with 22 additions and 23 deletions

@ -23,7 +23,6 @@ A collection of delicious docker recipes.
- [ ] firehol - [ ] firehol
- [ ] freegeoip - [ ] freegeoip
- [ ] freelan - [ ] freelan
- [ ] freeradius
- [ ] gitbook - [ ] gitbook
- [ ] gitolite - [ ] gitolite
- [ ] hashcat - [ ] hashcat
@ -55,6 +54,7 @@ A collection of delicious docker recipes.
- [x] cadvisor - [x] cadvisor
- [x] casperjs :+1: - [x] casperjs :+1:
- [x] collectd - [x] collectd
- [x] freeradius
- [x] h2o - [x] h2o
- [x] httpbin :+1: - [x] httpbin :+1:
- [x] hubot - [x] hubot

@ -1,4 +1,4 @@
FreeRadius FreeRADIUS
========== ==========
[FreeRADIUS][1] includes a RADIUS server, a BSD licensed client library, a PAM [FreeRADIUS][1] includes a RADIUS server, a BSD licensed client library, a PAM
@ -84,13 +84,13 @@ Query OK, 1 row affected (0.02 sec)
1 row in set (0.00 sec) 1 row in set (0.00 sec)
>>> SELECT * FROM radpostauth; >>> SELECT * FROM radpostauth;
+----+----------+--------------------------------------------------------------+---------------+---------------------+ +----+----------+------+---------------+---------------------+
| id | username | pass | reply | authdate | | id | username | pass | reply | authdate |
+----+----------+--------------------------------------------------------------+---------------+---------------------+ +----+----------+------+---------------+---------------------+
| 1 | user | pass | Access-Accept | 2016-07-28 06:28:28 | | 1 | user | pass | Access-Accept | 2016-07-28 06:28:28 |
| 2 | user | pass | Access-Accept | 2016-07-28 06:30:04 | | 2 | user | pass | Access-Accept | 2016-07-28 06:30:04 |
| 3 | user | xxxx | Access-Reject | 2016-07-28 06:30:22 | | 3 | user | xxxx | Access-Reject | 2016-07-28 06:30:22 |
+----+----------+--------------------------------------------------------------+---------------+---------------------+ +----+----------+------+---------------+---------------------+
>>> EXIT >>> EXIT
Bye Bye

@ -2,22 +2,21 @@
# Dockerfile for gogs-arm # Dockerfile for gogs-arm
# #
FROM easypi/alpine-arm:3.4 FROM easypi/alpine-arm
MAINTAINER kev <noreply@easypi.info> MAINTAINER EasyPi Software Foundation
ENV GOGS_VERSION 0.9.48
ENV GOGS_CUSTOM /data/gogs ENV GOGS_CUSTOM /data/gogs
RUN set -xe \ RUN apk add --no-cache bash \
&& apk add -U bash \ ca-certificates \
ca-certificates \ curl \
curl \ git \
git \ linux-pam \
linux-pam \ openssh \
openssh \ s6 \
s6 \ socat \
socat \ tar
tar \
&& rm -rf /var/cache/apk/*
RUN set -xe \ RUN set -xe \
&& adduser -H -D -g 'Gogs Git User' -h /data/git -s /bin/bash git \ && adduser -H -D -g 'Gogs Git User' -h /data/git -s /bin/bash git \
@ -31,7 +30,7 @@ RUN set -xe \
RUN set -xe \ RUN set -xe \
&& mkdir /app/ \ && mkdir /app/ \
&& cd /app/ \ && cd /app/ \
&& curl -LO https://github.com/gogits/gogs/releases/download/v0.9.13/linux_arm.zip \ && curl -LO https://github.com/gogits/gogs/releases/download/v${GOGS_VERSION}/linux_arm.zip \
&& unzip linux_arm.zip \ && unzip linux_arm.zip \
&& rm linux_arm.zip && rm linux_arm.zip