Merge pull request #23 from linuxserver/sed_in_place

Sed in place
This commit is contained in:
Neil 2017-04-13 02:05:08 +01:00 committed by GitHub
commit fd5f2b0962
2 changed files with 11 additions and 7 deletions

View File

@ -1,7 +1,12 @@
FROM lsiobase/alpine:3.5
MAINTAINER LinuxServer.io <ironicbadger@linuxserver.io>, sparklyballs
# install packages
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
# install packages
RUN \
apk add --no-cache \
apache2 \
@ -10,15 +15,13 @@ RUN \
smokeping \
ssmtp \
sudo \
ttf-dejavu
ttf-dejavu && \
# give abc sudo access to traceroute
RUN \
echo "abc ALL=(ALL) NOPASSWD: /usr/bin/traceroute" >> /etc/sudoers.d/traceroute
# give abc sudo access to traceroute
echo "abc ALL=(ALL) NOPASSWD: /usr/bin/traceroute" >> /etc/sudoers.d/traceroute && \
# fix path to cropper.js
RUN \
sed 's#src="/cropper/#/src="cropper/#' /etc/smokeping/basepage.html
sed -i 's#src="/cropper/#/src="cropper/#' /etc/smokeping/basepage.html
# add local files
COPY root/ /

View File

@ -76,6 +76,7 @@ Wait 10 minutes.
**Version**
+ **12.04.17:** Fix cropper.js path, thanks nibbledeez.
+ **09.02.17:** Rebase to alpine 3.5.
+ **17.10.16:** Add ttf-dejavu package as per [LT forum](http://lime-technology.com/forum/index.php?topic=43602.msg507875#msg507875).
+ **10.09.16:** Add layer badges to README.