Initial commit.
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2024-05-04 13:18:37 +05:00
commit 8b945c8f90
16 changed files with 273 additions and 0 deletions

19
Dockerfile Executable file
View File

@@ -0,0 +1,19 @@
FROM debian:12.5-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