-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdockerfile
More file actions
35 lines (28 loc) · 738 Bytes
/
Copy pathdockerfile
File metadata and controls
35 lines (28 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
FROM ghcr.io/actions/actions-runner:2.330.0
USER root
# Update and upgrade the system
RUN apt-get update -y && apt-get upgrade -y
# Install necessary packages
RUN apt-get install -y --no-install-recommends \
curl \
wget \
build-essential \
libssl-dev \
libffi-dev \
jq \
sudo \
libasound2-dev \
libudev-dev \
unzip \
pkg-config \
apt-transport-https \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
RUN curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/bin
RUN just --version
# Copy the start script and make it executable
COPY start.sh /start.sh
RUN chmod +x /start.sh
USER runner
# Define the entrypoint
ENTRYPOINT ["/start.sh"]