Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ai3
docker
lurker
Commits
fe844b31
Commit
fe844b31
authored
May 20, 2020
by
ale
Browse files
Upgrade base images to buster
parent
59f0b996
Pipeline
#6857
passed with stage
in 1 minute and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
fe844b31
# Stage 1: build the tiny smtp server
# Stage 1: build the tiny smtp server
FROM
golang:
1.12.9
AS
build
FROM
golang:
latest
AS
build
WORKDIR
/go/src
WORKDIR
/go/src
RUN
go get
-d
github.com/chrj/smtpd
RUN
go get
-d
github.com/chrj/smtpd
COPY
smtpd.go .
COPY
smtpd.go .
RUN
go build
-o
smtpd smtpd.go
RUN
go build
-o
smtpd smtpd.go
# Stage 2: build the final container
# Stage 2: build the final container
FROM
registry.git.autistici.org/ai3/docker/apache2-base:
ma
ster
FROM
registry.git.autistici.org/ai3/docker/apache2-base:
bu
ster
COPY
start.sh /start.sh
COPY
start.sh /start.sh
COPY
build.sh /tmp/build.sh
COPY
build.sh /tmp/build.sh
COPY
ai-lurker-ui.patch /tmp/ai-lurker-ui.patch
COPY
ai-lurker-ui.patch /tmp/ai-lurker-ui.patch
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment