# syntax=docker/dockerfile:1 FROM golang:1.25 ENV DEBIAN_FRONTEND noninteractive RUN apt-get -qq update -y &&\ apt-get -qq install apt-utils wget curl -y &&\ mkdir /opt/app &&\ useradd -m -s /bin/bash appuser COPY entry.sh / COPY bin/* /opt/app/ RUN chmod 777 /entry.sh && chown -R appuser:appuser /opt/app && chmod -R 777 /opt/app ENTRYPOINT [ "/entry.sh" ]