FROM golang RUN apt update && apt upgrade -y && apt install -y curl lsb-release dirmngr RUN curl -s https://dl.autonomia.digital/debian/keys.asc | apt-key add - RUN echo deb https://dl.autonomia.digital/debian $(lsb_release -c | cut -f 2) main | tee /etc/apt/sources.list.d/wahay.list RUN echo deb-src https://dl.autonomia.digital/debian $(lsb_release -c | cut -f 2) main | tee -a /etc/apt/sources.list.d/wahay.list RUN apt update && apt install -y wahay ENTRYPOINT ["wahay"]