This repository was archived by the owner on Aug 25, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (26 loc) · 1.18 KB
/
Dockerfile
File metadata and controls
33 lines (26 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM php:7.0-apache
#COPY php.ini /usr/local/etc/php/
LABEL "com.github.actions.name"="WP Text Domain"
LABEL "com.github.actions.description"="Adds TextDomain To your wordpress Plugin / Theme based on the content inside Github Repo"
LABEL "com.github.actions.icon"="message-square"
LABEL "com.github.actions.color"="gray-dark"
LABEL "repository"="https://github.com/wpapps/wp-text-domain"
LABEL "homepage"="https://github.com/wpapps/wp-text-domain"
LABEL "maintainer"="Varun Sridharan <varunsridharan23@gmail.com>"
LABEL "version"="1.0.0"
# Environments
ENV TIMEZONE Asia/Kolkata
ENV PHP_MEMORY_LIMIT 512M
ENV MAX_UPLOAD 50M
ENV PHP_MAX_FILE_UPLOAD 200
ENV PHP_MAX_POST 100M
ENV PHP_INI_DIR /usr/local/etc/php/php.ini
ENV HOME /root
ENV VAULT_VERSION 1.0.2
# install the PHP extensions we need
RUN apt-get update && apt-get install -y wget git mysql-client && rm -rf /var/lib/apt/lists/*
RUN git config --global user.email "wptextdomain+github@gmail.com" \
&& git config --global user.name "WP Text Domain Action On Github"
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]