Skip to content

Commit

Permalink
remove gpg verification
Browse files Browse the repository at this point in the history
closes: #7
  • Loading branch information
gdv committed Jun 17, 2020
1 parent d50b845 commit 6e12649
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,8 @@ RUN pip3 install gffutils
# Install gosu
ENV GOSU_VERSION 1.12
RUN set -eux; \
# save list of currently installed packages for later so we can clean up
dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; \
wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; \
wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; \
export GNUPGHOME="$(mktemp -d)"; \
gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; \
gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; \
command -v gpgconf && gpgconf --kill all || :; \
rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; \
\
# clean up fetch dependencies
chmod +x /usr/local/bin/gosu; \
# verify that the binary works
gosu --version; \
Expand All @@ -58,4 +49,5 @@ RUN cd galig ; make

VOLUME ["/data"]
COPY asgal-docker.sh /galig/asgal-docker.sh
ENV PATH=$PATH:/galig/asgal
ENTRYPOINT ["/galig/asgal-docker.sh"]

0 comments on commit 6e12649

Please sign in to comment.