Add common tools
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM debian:11.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/golangci-lint.sh
|
||||
RUN /src/scripts/workers/gofumpt.sh
|
||||
RUN /src/scripts/workers/taskfile.sh
|
||||
|
||||
RUN mkdir /home/container && chmod 0777 /home/container
|
||||
|
||||
ENV HOME=/home/container
|
||||
ENV GOPATH=/home/container/go
|
||||
ENV GOCACHE=/home/container/.cache
|
Reference in New Issue
Block a user