Permalink
Browse files

New script to run under kube with git-sync

  • Loading branch information...
abh committed Sep 22, 2017
1 parent 5045354 commit 69ba29077cbc5bd74e9de9064fb1100e1c4ca977
Showing with 14 additions and 0 deletions.
  1. +1 −0 Dockerfile
  2. +13 −0 docker/kube-run.sh
View
@@ -32,6 +32,7 @@ RUN addgroup perlweb && adduser -D -G perlweb perlweb
RUN chown perlweb:perlweb /perlweb
ADD docker/container-run.sh /usr/bin/run
ADD docker/kube-run.sh /usr/bin/kube-run
USER perlweb
View
@@ -1,4 +1,17 @@
#!/bin/sh
set -ex
ls -la /git/
ls -la /git/perlweb/
rmdir /perlweb
ln -s /git/perlweb /perlweb
ls -la /
ls -la /perlweb
ls -la /perlweb/bin /perlweb/combust/bin
cd /perlweb
# download RSS files etc on restarts

0 comments on commit 69ba290

Please sign in to comment.