remove entrypoint from ec2 image
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-05-12 00:26:57 +02:00
parent 8ea5ac41a8
commit 9888d672a3
2 changed files with 0 additions and 13 deletions

View File

@ -25,8 +25,6 @@ ENV PIP_PACKAGES="\
pycrypto \ pycrypto \
" "
COPY ./ec2-entrypoint.sh /docker-entrypoint.sh
RUN \ RUN \
apk update \ apk update \
&& apk add --update --no-cache ${PACKAGES} \ && apk add --update --no-cache ${PACKAGES} \
@ -38,4 +36,3 @@ RUN \
&& chmod 700 /root/.ssh && chmod 700 /root/.ssh
USER root USER root
ENTRYPOINT ["/docker-entrypoint.sh"]

View File

@ -1,10 +0,0 @@
#!/usr/bin/env bash
set -o pipefail
set -o errtrace
set -o nounset
set -o errexit
if [ "$EC2_SSH_KEY" ]; then
echo "$EC2_SSH_KEY" > $HOME/.ssh/ec2_key
chmod 600 $HOME/.ssh/ec2_key
fi