go-toolbox/Dockerfile
Stanislav N. aka pztrn c7e5ae7513
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Try to make it github/gitea actionable.
2024-07-19 15:11:50 +05:00

22 lines
591 B
Docker
Executable File

FROM debian:12.6-slim
COPY . /src
RUN for file in $(find /src -type f -name "*.sh"); do chmod +x $file; done
RUN /src/scripts/workers/debian.sh
RUN /src/scripts/workers/golang.sh
RUN /src/scripts/workers/dlv.sh
RUN /src/scripts/workers/golangci-lint.sh
RUN /src/scripts/workers/gofumpt.sh
RUN /src/scripts/workers/mockery.sh
RUN /src/scripts/workers/taskfile.sh
RUN /src/scripts/workers/go-junit-report.sh
RUN mkdir /home/container && chmod 0777 /home/container
ENV HOME=/home/container
ENV GOPATH=/home/container/go
ENV GOCACHE=/home/container/.cache
ENTRYPOINT ["/src/entrypoint.sh"]