Compare commits

..

2 Commits
1.5.1 ... 1.5.2

Author SHA1 Message Date
John Locke
d3897c8439 1.5.2 2017-01-23 06:46:44 -08:00
John Locke
6d4d4fa927 Run as www-data user, with permission to write ledgersmb.conf file.
Fixes #6.
2017-01-14 09:09:37 -08:00
2 changed files with 6 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ RUN DEBIAN_FRONTENT=noninteractive && \
ssmtp
# Build time variables
ENV LSMB_VERSION 1.5.1
ENV LSMB_VERSION 1.5.2
# Install LedgerSMB
RUN cd /srv && \
@@ -71,6 +71,8 @@ RUN mkdir -p /tmp && \
# Internal Port Expose
EXPOSE 5762
#USER www-data
# If ledgersmb.conf does not exist, www-data user needs to be able to create it.
RUN chown www-data /srv/ledgersmb
USER www-data
CMD ["start.sh"]

View File

@@ -6,8 +6,8 @@ This is a work in progress to make a docker image for running LedgerSMB. It shou
# Supported tags and respective `Dockerfile` links
- `dev-master` - Master branch from git, unstable
- `1.5`, `1.5.x` - Latest release tarball from 1.5 branch
- `1.4`, `latest` - Latest tagged release of git 1.4 branch
- `1.5`, `1.5.x`, `latest` - Latest release tarball from 1.5 branch
- `1.4`, `1.4.x` - Latest tagged release of git 1.4 branch
# What is LedgerSMB?