File tree 3 files changed +25
-25
lines changed 3 files changed +25
-25
lines changed Original file line number Diff line number Diff line change 1
1
# Build stage
2
- FROM golang:1.17 -alpine3.15 AS build-env
2
+ FROM golang:1.18 -alpine3.16 AS build-env
3
3
4
4
ARG GOPROXY
5
5
ENV GOPROXY ${GOPROXY:-direct}
@@ -18,39 +18,39 @@ WORKDIR ${GOPATH}/src/code.gitea.io/gitea
18
18
19
19
# Checkout version if set
20
20
RUN if [ -n "${GITEA_VERSION}" ]; then git checkout "${GITEA_VERSION}" ; fi \
21
- && make clean-all build
21
+ && make clean-all build
22
22
23
23
# Begin env-to-ini build
24
24
RUN go build contrib/environment-to-ini/environment-to-ini.go
25
25
26
- FROM alpine:3.15
26
+ FROM alpine:3.16
27
27
LABEL maintainer=
"[email protected] "
28
28
29
29
EXPOSE 22 3000
30
30
31
31
RUN apk --no-cache add \
32
- bash \
33
- ca-certificates \
34
- curl \
35
- gettext \
36
- git \
37
- linux-pam \
38
- openssh \
39
- s6 \
40
- sqlite \
41
- su-exec \
42
- gnupg
32
+ bash \
33
+ ca-certificates \
34
+ curl \
35
+ gettext \
36
+ git \
37
+ linux-pam \
38
+ openssh \
39
+ s6 \
40
+ sqlite \
41
+ su-exec \
42
+ gnupg
43
43
44
44
RUN addgroup \
45
- -S -g 1000 \
46
- git && \
45
+ -S -g 1000 \
46
+ git && \
47
47
adduser \
48
- -S -H -D \
49
- -h /data/git \
50
- -s /bin/bash \
51
- -u 1000 \
52
- -G git \
53
- git && \
48
+ -S -H -D \
49
+ -h /data/git \
50
+ -s /bin/bash \
51
+ -u 1000 \
52
+ -G git \
53
+ git && \
54
54
echo "git:*" | chpasswd -e
55
55
56
56
ENV USER git
Original file line number Diff line number Diff line change 1
- FROM golang:1.17 -alpine3.15
1
+ FROM golang:1.18 -alpine3.16
2
2
3
3
ARG GOPROXY
4
4
ENV GOPROXY ${GOPROXY:-direct}
Original file line number Diff line number Diff line change 1
1
#Build stage
2
- FROM golang:1.18-alpine3.15 AS build-env
2
+ FROM golang:1.18-alpine3.16 AS build-env
3
3
4
4
ARG GOPROXY
5
5
ENV GOPROXY ${GOPROXY:-direct}
@@ -23,7 +23,7 @@ RUN if [ -n "${GITEA_VERSION}" ]; then git checkout "${GITEA_VERSION}"; fi \
23
23
# Begin env-to-ini build
24
24
RUN go build contrib/environment-to-ini/environment-to-ini.go
25
25
26
- FROM alpine:3.15
26
+ FROM alpine:3.16
27
27
LABEL maintainer="
[email protected] "
28
28
29
29
EXPOSE 2222 3000
You can’t perform that action at this time.
0 commit comments