`gosu` is present in the base image

This commit is contained in:
Sameer Naik 2017-04-03 21:12:25 +05:30
parent ab8c83c40e
commit 22f048c3e0
1 changed files with 0 additions and 13 deletions

View File

@ -6,9 +6,6 @@ ENV BITNAMI_APP_NAME=ghost \
BITNAMI_IMAGE_VERSION=0.11.7-r1 \
PATH=/opt/bitnami/node/bin:/opt/bitnami/mysql/bin:$PATH
ENV GOSU_VERSION=1.10 \
GOSU_GPG_KEY=B42F6819007F00F88E364FD4036A9C25BF357DD4
# System packages required
RUN install_packages libc6 zlib1g libssl1.0.0 libncurses5 libtinfo5 libstdc++6 libgcc1 libbz2-1.0 libreadline6 ghostscript imagemagick libmysqlclient18
@ -19,16 +16,6 @@ RUN bitnami-pkg install node-4.8.0-0 --checksum 800e972fbdf1b0a5afc845990bb98135
# Install ghost
RUN bitnami-pkg unpack ghost-0.11.7-0 --checksum 376198b6e86229a890fe6706f80406e6a99246f6a77fe7ff3f04a9ffd09034a3
# Install gosu
RUN cd /tmp && \
gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys $GOSU_GPG_KEY && \
gpg --fingerprint $GOSU_GPG_KEY | grep -q "Key fingerprint = B42F 6819 007F 00F8 8E36 4FD4 036A 9C25 BF35 7DD4" && \
curl -sSL https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-amd64.asc -o gosu.asc && \
curl -sSL https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-amd64 -o /usr/local/bin/gosu && \
gpg --verify gosu.asc /usr/local/bin/gosu && \
chmod +x /usr/local/bin/gosu && \
rm gosu.asc
COPY rootfs /
ENV GHOST_PORT="80" \