Skip to content

Commit f40cc3f

Browse files
committed
Release 1.15.64 - See CHANGELOG.md
1 parent 486f68e commit f40cc3f

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 1.15.64 2022-10-04 <dave at tiredofit dot ca>
2+
3+
### Changed
4+
- Change the way repos are cloned in Dockerfile
5+
6+
17
## 1.15.63 2022-09-29 <dave at tiredofit dot ca>
28

39
### Added

Dockerfile

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
FROM docker.io/tiredofit/nginx-php-fpm:8.0
22
LABEL maintainer="Dave Conroy (github.com/tiredofit)"
33

4-
### Set Defaults
54
ENV FREESCOUT_VERSION=1.8.29 \
65
FREESCOUT_REPO_URL=https://github.com/freescout-helpdesk/freescout \
76
NGINX_WEBROOT=/www/html \
@@ -21,8 +20,8 @@ ENV FREESCOUT_VERSION=1.8.29 \
2120
IMAGE_NAME="tiredofit/freescout" \
2221
IMAGE_REPO_URL="https://github.com/tiredofit/docker-freescout/"
2322

24-
### Perform Installation
25-
RUN set -x && \
23+
RUN source /assets/functions/00-container && \
24+
set -x && \
2625
apk update && \
2726
apk upgrade && \
2827
apk add -t .freescout-run-deps \
@@ -32,20 +31,14 @@ RUN set -x && \
3231
sed \
3332
&& \
3433
\
35-
### WWW Installation
3634
php-ext enable core && \
37-
mkdir -p /assets/install && \
38-
git clone ${FREESCOUT_REPO_URL} /assets/install && \
39-
cd /assets/install && \
40-
git checkout ${FREESCOUT_VERSION} && \
35+
clone_git_repo ${FREESCOUT_REPO_URL} ${FREESCOUT_VERSION} /assets/install && \
4136
rm -rf \
4237
/assets/install/.env.example \
4338
/assets/install/.env.travis \
4439
&& \
4540
composer install --ignore-platform-reqs && \
46-
chown -R nginx:www-data /assets/install && \
47-
\
48-
### Cleanup
41+
chown -R ${NGINX_USER}:${NGINX_GROUP} /assets/install && \
4942
rm -rf /root/.composer && \
5043
rm -rf /var/tmp/* /var/cache/apk/*
5144

0 commit comments

Comments
 (0)