Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ai
website
Commits
46aec5d1
Commit
46aec5d1
authored
2 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Fully qualify container image URLs
parent
f758c5a1
No related branches found
No related tags found
No related merge requests found
Pipeline
#53999
passed with warnings
2 years ago
Stage: build
Stage: test
Stage: release
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+4
-4
4 additions, 4 deletions
Dockerfile
with
4 additions
and
4 deletions
Dockerfile
+
4
−
4
View file @
46aec5d1
FROM
node:current-bullseye
AS
assets
FROM
docker.io/library/
node:current-bullseye
AS
assets
ADD
. /src
WORKDIR
/src
RUN
npm
install
&&
env
NODE_OPTIONS
=
--openssl-legacy-provider
./node_modules/.bin/webpack
# Debian bullseye can't build gostatic due to its strict dependency
# on Go >1.17, so we build it separately.
FROM
golang:1.19
AS
gobuild
FROM
docker.io/library/
golang:1.19
AS
gobuild
RUN
go
install
github.com/piranha/gostatic@latest
RUN
go
install
git.autistici.org/ai/webtools/cmd/jsonsubst@latest
RUN
go
install
git.autistici.org/ai/webtools/cmd/sitesearch@latest
FROM
d
ebian:bullseye
-slim
AS
build
FROM
d
ocker.io/library/debian:bookworm
-slim
AS
build
ADD
. /src
WORKDIR
/src
COPY
--from=gobuild /go/bin/gostatic /usr/bin/gostatic
...
...
@@ -19,7 +19,7 @@ COPY --from=gobuild /go/bin/jsonsubst /usr/bin/jsonsubst
COPY
--from=assets /src/assets/templates/ /src/assets/templates/
RUN
./scripts/lint.sh
&&
./scripts/update.sh
FROM
d
ebian:bullseye
-slim
AS
precompress
FROM
d
ocker.io/library/debian:bookworm
-slim
AS
precompress
RUN
apt-get
-q
update
&&
env
DEBIAN_FRONTEND
=
noninteractive apt-get
-qy
install
brotli
COPY
--from=build /src/public /var/www/autistici.org
COPY
--from=assets /src/assets/static/ /var/www/autistici.org/static/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment