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
Picasoft
Technique
Dockerfiles
Commits
1bb55e4d
Verified
Commit
1bb55e4d
authored
Jun 27, 2021
by
Romain De Laage De Bellefaye
🌳
Browse files
[Castopod] bump to nginx to 1.21, php to 8.0 and castopod to alpha 61
parent
514ff9f0
Changes
3
Hide whitespace changes
Inline
Side-by-side
pica-castopod/back/Dockerfile
View file @
1bb55e4d
FROM
alpine:3.13 AS downloader
ARG
VERSION=v1.0.0-alpha.
57
ARG
VERSION=v1.0.0-alpha.
61
RUN
apk add
--no-cache
curl jq
&&
\
curl
-L
$(
curl https://code.podlibre.org/api/v4/projects/2/releases/
${
VERSION
}
/assets/links | jq
-r
.[].url |
grep
\.
tar
\.
gz
)
-o
castopod.tgz
&&
\
tar
-xzf
castopod.tgz
FROM
php:
7.4
-fpm-alpine3.13
FROM
php:
8.0
-fpm-alpine3.13
COPY
entrypoint.sh /entrypoint.sh
...
...
pica-castopod/docker-compose.yml
View file @
1bb55e4d
...
...
@@ -16,7 +16,7 @@ networks:
services
:
app-back
:
image
:
registry.picasoft.net/pica-castopod-back:v
2
.0.0-alpha.
57
image
:
registry.picasoft.net/pica-castopod-back:v
1
.0.0-alpha.
61
build
:
back
container_name
:
"
castopod-back"
volumes
:
...
...
@@ -28,7 +28,7 @@ services:
restart
:
unless-stopped
app-front
:
image
:
registry.picasoft.net/pica-castopod-front:v1.0.0-alpha.
57
image
:
registry.picasoft.net/pica-castopod-front:v1.0.0-alpha.
61
build
:
front
container_name
:
"
castopod-front"
networks
:
...
...
pica-castopod/front/Dockerfile
View file @
1bb55e4d
FROM
alpine:3.13 AS downloader
ARG
VERSION=v1.0.0-alpha.
57
ARG
VERSION=v1.0.0-alpha.
61
RUN
apk add
--no-cache
curl jq
&&
\
curl
-L
$(
curl https://code.podlibre.org/api/v4/projects/2/releases/
${
VERSION
}
/assets/links | jq
-r
.[].url |
grep
\.
tar
\.
gz
)
-o
castopod.tgz
&&
\
tar
-xzf
castopod.tgz
FROM
nginx:1.1
9
-alpine
FROM
nginx:1.
2
1-alpine
VOLUME
/var/www/html/media
...
...
Write
Preview
Markdown
is supported
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