Software repository API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

22 lines
548 B

  1. FROM ubuntu:bionic
  2. RUN apt-get update && \
  3. apt-get install -y python3-pip gpgv1 gnupg1 gpg sudo wget
  4. RUN cd /tmp && \
  5. wget -qO aptly.tgz https://bintray.com/artifact/download/smira/aptly/aptly_1.3.0_linux_amd64.tar.gz && \
  6. tar xvf aptly.tgz aptly_1.3.0_linux_amd64/aptly && \
  7. mv aptly_1.3.0_linux_amd64/aptly /usr/bin/ && \
  8. rm -rf aptly.tgz aptly_1.3.0_linux_amd64
  9. ADD . /tmp/code
  10. RUN cd /tmp/code && \
  11. python3 setup.py install && \
  12. useradd repobot && \
  13. rm -rf /tmp/code
  14. ADD start /start
  15. ENTRYPOINT ["/start"]