tangled
alpha
login
or
join now
fuwn.net
/
maple
0
fork
atom
๐ A very simple static Gemini server, now with Titan support!
cpp
gemini
titan
gemini-protocol
titan-protocol
0
fork
atom
overview
issues
pulls
pipelines
ci(docker): make image significantly smaller
fuwn.net
3 years ago
4e2b7689
f2ad8a4b
verified
This commit was signed with the committer's
known signature
.
fuwn.net
SSH Key Fingerprint:
SHA256:VPdFPyPbd6JkoMyWUdZ/kkTcIAt3sxjXD2XSAZ7FYC4=
+9
-6
1 changed file
expand all
collapse all
unified
split
Dockerfile
+9
-6
Dockerfile
···
1
1
-
FROM alpine:latest as dependencies
1
1
+
FROM alpine:latest as environment
2
2
3
3
RUN apk update \
4
4
&& apk upgrade \
5
5
-
&& apk add --no-cache \
5
5
+
&& apk add --no-cache libstdc++
6
6
+
7
7
+
FROM environment as build_environment
8
8
+
9
9
+
RUN apk add --no-cache \
6
10
clang \
7
11
ninja \
8
12
alpine-sdk \
9
9
-
openssl-dev \
10
10
-
libstdc++
13
13
+
openssl-dev
11
14
12
12
-
FROM dependencies as builder
15
15
+
FROM build_environment as builder
13
16
14
17
WORKDIR /maple
15
18
···
17
20
18
21
RUN ninja
19
22
20
20
-
FROM dependencies
23
23
+
FROM environment
21
24
22
25
WORKDIR /maple
23
26