Skip to content

Commit bd40615

Browse files
committed
Changed the name ov variable
1 parent ba9f219 commit bd40615

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM linuxserver/baseimage.apache
33
MAINTAINER Mark Burford <[email protected]>
44

55
# set install packages as variable
6-
ENV install_packages="curl \
6+
ENV APTLIST="curl \
77
lynx-cur \
88
php5-cgi \
99
php5-gd \
@@ -23,8 +23,7 @@ wget"
2323

2424
# install packages
2525
RUN apt-get update && \
26-
apt-get install \
27-
$install_packages -qy && \
26+
apt-get install $APTLIST -qy && \
2827

2928
# cleanup
3029
apt-get clean -y && \

init/50_update_apps.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/bin/bash
22

33
apt-get update -qq
4-
apt-get --only-upgrade install \
5-
$install_packages -qqy
4+
apt-get --only-upgrade install $APTLIST -qqy

0 commit comments

Comments
 (0)