~benaiah/fennel-openresty

aad59afcb0e3cd37cec8165538492f691ebb9061 — Benaiah Mischenko 5 years ago e98988b
make fennel script in app container executable
1 files changed, 2 insertions(+), 1 deletions(-)

M Dockerfile
M Dockerfile => Dockerfile +2 -1
@@ 15,7 15,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update \
    && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
       apt-utils make openresty-opm rlwrap wget

RUN printf '#!/usr/bin/env bash\nexec rlwrap /app/modules/fennel/fennel "$@"\n' | tee /usr/local/bin/fennel
RUN printf '#!/usr/bin/env bash\nexec rlwrap /app/modules/fennel/fennel "$@"\n' | tee /usr/local/bin/fennel \
    && chmod +x /usr/local/bin/fennel

# RUN mkdir /var/log/postgres \
#     && echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list \