node act runner creation
This commit is contained in:
parent
5bc4e47033
commit
c77c0d791a
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
FROM gitea.pena/penadevops/container-images/act_runner:main as runner
|
||||||
|
|
||||||
|
FROM gitea.pena/penadevops/container-images/node:main as node
|
||||||
|
RUN apk add --no-cache git bash tini
|
||||||
|
COPY --from=runner /usr/local/bin/act_runner /usr/local/bin/act_runner
|
||||||
|
COPY --from=runner /opt/act/run.sh /opt/act/run.sh
|
||||||
|
COPY ./podman-remote-static-linux_amd64 /usr/local/bin/podman
|
||||||
|
COPY ./registries.conf /etc/containers/registries.conf
|
||||||
|
ENTRYPOINT ["/sbin/tini","--","/opt/act/run.sh"]
|
Binary file not shown.
@ -3,4 +3,8 @@ FROM gitea.pena:3000/penadevops/container-images/docker-compose-bin:main as comp
|
|||||||
|
|
||||||
FROM gitea.pena:3000/penadevops/container-images/node:main as node
|
FROM gitea.pena:3000/penadevops/container-images/node:main as node
|
||||||
RUN apk add git
|
RUN apk add git
|
||||||
|
RUN mkdir -p /run/user/1000/podman
|
||||||
|
RUN chmod -R 777 /run/user/1000/podman
|
||||||
|
ENV DOCKER_HOST=/var/run/docker.sock
|
||||||
|
|
||||||
COPY --from=compose /docker-compose /usr/bin/compose
|
COPY --from=compose /docker-compose /usr/bin/compose
|
||||||
|
@ -3,4 +3,8 @@ FROM gitea.pena/penadevops/container-images/golint:main as golint
|
|||||||
|
|
||||||
FROM gitea.pena/penadevops/container-images/node:main as node
|
FROM gitea.pena/penadevops/container-images/node:main as node
|
||||||
RUN apk add git
|
RUN apk add git
|
||||||
|
ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||||
|
ENV GOPRIVATE=gitea.pena/PenaSide/linters-golang
|
||||||
|
ENV GOINSECURE=gitea.pena/PenaSide/linters-golang
|
||||||
|
COPY --from=golint /usr/local/go/ /usr/local/go/
|
||||||
COPY --from=golint /app/golangci-lint /usr/bin/golangci-lint
|
COPY --from=golint /app/golangci-lint /usr/bin/golangci-lint
|
||||||
|
BIN
podman-remote-static-linux_amd64
Executable file
BIN
podman-remote-static-linux_amd64
Executable file
Binary file not shown.
3
registries.conf
Normal file
3
registries.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[[registry]]
|
||||||
|
location = "gitea.pena"
|
||||||
|
insecure = true
|
Loading…
Reference in New Issue
Block a user