mirror of
https://github.com/theonedev/onedev.git
synced 2025-12-10 00:07:37 -06:00
Edit Dockerfile.agent
This commit is contained in:
parent
3d4ca95261
commit
0309ec8cc1
@ -1,9 +1,9 @@
|
||||
# Build the docker image for onedev agent
|
||||
FROM ubuntu:22.04 AS build
|
||||
FROM ubuntu:24.04 AS build
|
||||
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
|
||||
RUN curl -fsSL https://get.docker.com | sh
|
||||
|
||||
FROM ubuntu:22.04
|
||||
FROM ubuntu:24.04
|
||||
COPY agent /agent
|
||||
COPY entrypoint-agent.sh /root/bin/entrypoint.sh
|
||||
COPY --from=build /usr/bin/docker /usr/local/bin/docker
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user