Skip to content
This repository was archived by the owner on Jul 25, 2023. It is now read-only.

Commit e0338ec

Browse files
committedMay 29, 2020
Fix error 'cannot open kernel log (/proc/kmsg): Operation not permitted.'
1 parent d0dff51 commit e0338ec

File tree

8 files changed

+8
-0
lines changed

8 files changed

+8
-0
lines changed
 

‎5.5/cli/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ ENTRYPOINT ["/entrypoint.sh"]
3838
ENV BIN_DIR "/usr/local/bin"
3939
RUN apt-get update \
4040
&& apt-get install -y cron git groff mysql-client python-pip rsyslog sudo \
41+
&& sed -i '/imklog/s/^/#/' /etc/rsyslog.conf \
4142
&& pip install awscli \
4243
&& curl --retry 10 --retry-delay 3 https://getcomposer.org/installer | php -- --install-dir=$BIN_DIR --filename=composer \
4344
&& curl --retry 10 --retry-delay 3 -L https://github.com/punkstar/mageconfigsync/releases/download/0.4.0/mageconfigsync-0.4.0.phar -o $BIN_DIR/mageconfigsync && chmod +x $BIN_DIR/mageconfigsync \

‎5.6/cli/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ ENTRYPOINT ["/entrypoint.sh"]
3838
ENV BIN_DIR "/usr/local/bin"
3939
RUN apt-get update \
4040
&& apt-get install -y cron git groff mysql-client python-pip rsyslog sudo \
41+
&& sed -i '/imklog/s/^/#/' /etc/rsyslog.conf \
4142
&& pip install awscli \
4243
&& curl --retry 10 --retry-delay 3 https://getcomposer.org/installer | php -- --install-dir=$BIN_DIR --filename=composer \
4344
&& curl --retry 10 --retry-delay 3 -L https://github.com/punkstar/mageconfigsync/releases/download/0.4.0/mageconfigsync-0.4.0.phar -o $BIN_DIR/mageconfigsync && chmod +x $BIN_DIR/mageconfigsync \

‎7.0/cli/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ ENTRYPOINT ["/entrypoint.sh"]
3838
ENV BIN_DIR "/usr/local/bin"
3939
RUN apt-get update \
4040
&& apt-get install -y cron git groff mysql-client python-pip rsyslog sudo \
41+
&& sed -i '/imklog/s/^/#/' /etc/rsyslog.conf \
4142
&& pip install awscli \
4243
&& curl --retry 10 --retry-delay 3 https://getcomposer.org/installer | php -- --install-dir=$BIN_DIR --filename=composer \
4344
&& curl --retry 10 --retry-delay 3 -L https://github.com/punkstar/mageconfigsync/releases/download/0.4.0/mageconfigsync-0.4.0.phar -o $BIN_DIR/mageconfigsync && chmod +x $BIN_DIR/mageconfigsync \

‎7.1/cli/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ ENTRYPOINT ["/entrypoint.sh"]
3838
ENV BIN_DIR "/usr/local/bin"
3939
RUN apt-get update \
4040
&& apt-get install -y cron git groff default-mysql-client python-pip rsyslog sudo \
41+
&& sed -i '/imklog/s/^/#/' /etc/rsyslog.conf \
4142
&& pip install awscli \
4243
&& curl --retry 10 --retry-delay 3 https://getcomposer.org/installer | php -- --install-dir=$BIN_DIR --filename=composer \
4344
&& curl --retry 10 --retry-delay 3 -L https://github.com/punkstar/mageconfigsync/releases/download/0.4.0/mageconfigsync-0.4.0.phar -o $BIN_DIR/mageconfigsync && chmod +x $BIN_DIR/mageconfigsync \

‎7.2/cli/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ ENTRYPOINT ["/entrypoint.sh"]
3737
ENV BIN_DIR "/usr/local/bin"
3838
RUN apt-get update \
3939
&& apt-get install -y cron git groff default-mysql-client python-pip rsyslog sudo \
40+
&& sed -i '/imklog/s/^/#/' /etc/rsyslog.conf \
4041
&& pip install awscli \
4142
&& curl --retry 10 --retry-delay 3 https://getcomposer.org/installer | php -- --install-dir=$BIN_DIR --filename=composer \
4243
&& curl --retry 10 --retry-delay 3 -L https://github.com/punkstar/mageconfigsync/releases/download/0.4.0/mageconfigsync-0.4.0.phar -o $BIN_DIR/mageconfigsync && chmod +x $BIN_DIR/mageconfigsync \

‎7.3/cli/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ ENTRYPOINT ["/entrypoint.sh"]
3737
ENV BIN_DIR "/usr/local/bin"
3838
RUN apt-get update \
3939
&& apt-get install -y cron git groff default-mysql-client python-pip rsyslog sudo \
40+
&& sed -i '/imklog/s/^/#/' /etc/rsyslog.conf \
4041
&& pip install awscli \
4142
&& curl --retry 10 --retry-delay 3 https://getcomposer.org/installer | php -- --install-dir=$BIN_DIR --filename=composer \
4243
&& curl --retry 10 --retry-delay 3 -L https://github.com/punkstar/mageconfigsync/releases/download/0.4.0/mageconfigsync-0.4.0.phar -o $BIN_DIR/mageconfigsync && chmod +x $BIN_DIR/mageconfigsync \

‎7.4/cli/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ ENTRYPOINT ["/entrypoint.sh"]
3131
ENV BIN_DIR "/usr/local/bin"
3232
RUN apt-get update \
3333
&& apt-get install -y cron git groff default-mysql-client python-pip rsyslog sudo \
34+
&& sed -i '/imklog/s/^/#/' /etc/rsyslog.conf \
3435
&& pip install awscli \
3536
&& curl --retry 10 --retry-delay 3 https://getcomposer.org/installer | php -- --install-dir=$BIN_DIR --filename=composer \
3637
&& curl --retry 10 --retry-delay 3 -L https://github.com/punkstar/mageconfigsync/releases/download/0.4.0/mageconfigsync-0.4.0.phar -o $BIN_DIR/mageconfigsync && chmod +x $BIN_DIR/mageconfigsync \

‎src/Dockerfile-cli

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
ENV BIN_DIR "/usr/local/bin"
44
RUN apt-get update \
55
&& apt-get install -y cron git groff <?php echo $mysql_client_package ?> python-pip rsyslog sudo \
6+
&& sed -i '/imklog/s/^/#/' /etc/rsyslog.conf \
67
&& pip install awscli \
78
&& curl --retry 10 --retry-delay 3 https://getcomposer.org/installer | php -- --install-dir=$BIN_DIR --filename=composer \
89
&& curl --retry 10 --retry-delay 3 -L https://github.com/punkstar/mageconfigsync/releases/download/0.4.0/mageconfigsync-0.4.0.phar -o $BIN_DIR/mageconfigsync && chmod +x $BIN_DIR/mageconfigsync \

0 commit comments

Comments
 (0)