File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
FROM ubuntu:24.04
2
2
3
3
ARG DEBIAN_FRONTEND=noninteractive
4
- ARG DEFAULT_PHP_VERSION=7.4
5
4
6
5
LABEL "com.github.actions.icon" ="upload-cloud"
7
6
LABEL "com.github.actions.color" ="yellow"
@@ -10,9 +9,10 @@ LABEL "com.github.actions.description"="Deploy WordPress code to a server"
10
9
LABEL "org.opencontainers.image.source" ="https://github.com/rtCamp/action-deploy-wordpress"
11
10
12
11
13
- ENV PATH "/composer/vendor/bin:~/.local/bin:$PATH"
14
- ENV COMPOSER_ALLOW_SUPERUSER 1
15
- ENV COMPOSER_HOME /composer
12
+ ENV PATH="/composer/vendor/bin:~/.local/bin:$PATH"
13
+ ENV COMPOSER_ALLOW_SUPERUSER=1
14
+ ENV COMPOSER_HOME=/composer
15
+ ENV DEFAULT_PHP_VERSION=7.4
16
16
17
17
RUN apt update && \
18
18
apt install -y \
@@ -28,7 +28,7 @@ RUN apt update && \
28
28
add-apt-repository ppa:ondrej/php && \
29
29
apt update && \
30
30
apt-get install -y php7.4-cli php7.4-curl php7.4-json php7.4-mbstring php7.4-xml php7.4-iconv php7.4-yaml && \
31
- pip3 install shyaml && \
31
+ pip3 install shyaml --break-system-packages && \
32
32
rm -rf /var/lib/apt/lists/*
33
33
34
34
# Setup wp-cli
You can’t perform that action at this time.
0 commit comments