-
Notifications
You must be signed in to change notification settings - Fork 70
/
Dockerfile
20 lines (14 loc) · 593 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM golang:1.17.7-buster
# Needed in order to update since apk update configures tzdata.
RUN ln -sf /usr/share/zoneinfo/UTC > /etc/localtime
RUN apt -y update
# Install the Docker client and Git (needed by 'go install')
# Note that you'll need to make sure that /var/run/docker.sock is bind-mounted
# to this container in order for ACT to work.
RUN apt -y install docker git
# Install Act.
RUN go install "github.com/nektos/[email protected]"
# Copy our documentation into the image.
COPY . /app
WORKDIR /app
ENTRYPOINT [ "act", "-P", "ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest" ]