File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
1
#
2
- # expected variables in the CI environment
3
- # - REGISTRY_URL = url of the docker registry
2
+ # Expected variables in the CI environment
3
+ # - REGISTRY_URL = URL of the Docker registry
4
4
5
5
STAGE =build
6
6
Original file line number Diff line number Diff line change @@ -6,16 +6,18 @@ ARG php_version
6
6
ARG DEBIAN_FRONTEND=noninteractive
7
7
ENV PHP_VERSION=${php_version}
8
8
9
- RUN export DEBIAN_FRONTEND=noninteractive && apt-get install -y --no-install-recommends \
9
+ RUN export DEBIAN_FRONTEND=noninteractive \
10
+ && apt-get update \
11
+ && apt-get install -y --no-install-recommends \
10
12
make \
11
13
git \
12
14
zip \
13
- ; apt-get clean
15
+ && apt-get clean
14
16
15
17
# Install nodejs and npm to build js files
16
18
RUN apt-get install -y ca-certificates curl gnupg \
17
19
&& mkdir -p /etc/apt/keyrings \
18
20
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
19
- && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18 .x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
21
+ && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_21 .x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
20
22
&& apt-get update \
21
23
&& apt-get install nodejs -y
Original file line number Diff line number Diff line change 1
1
ARG REGISTRY_PREFIX=''
2
- FROM ${REGISTRY_PREFIX}alpine:3.17 as build
2
+ FROM ${REGISTRY_PREFIX}alpine:3.17 AS build
3
3
4
4
COPY lizmap_web_client.zip .
5
5
RUN unzip lizmap_web_client.zip
Original file line number Diff line number Diff line change 1
1
# Lizmap web client Docker image
2
2
3
3
The container deploys one Lizmap instance and may run php-fpm on the command line.
4
- (see [ docker/php] ( https://hub.docker.com/_/php/ ) )
5
-
4
+ (see [ docker/php] ( https://hub.docker.com/_/php/ ) )
6
5
7
6
## Configuration variables
8
7
You can’t perform that action at this time.
0 commit comments