util-docker: Set dev container to ":latest"
Change-Id: I73bb569e05830d35f0aa63eb75026a83377ae3a5
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
# In the final stage this this is copied into /usr/local/bin/gem5. This ensures
|
||||
# there is a pre-built gem5 binary in each devcontainer. This can save time
|
||||
# if the container is used for education or demonstration purposes.
|
||||
FROM --platform=${BUILDPLATFORM} ghcr.io/gem5/ubuntu-24.04_all-dependencies:v24-0 as builder
|
||||
FROM --platform=${BUILDPLATFORM} ghcr.io/gem5/ubuntu-24.04_all-dependencies:latest as builder
|
||||
RUN git clone --branch v24.0 https://github.com/gem5/gem5
|
||||
WORKDIR /gem5
|
||||
RUN scons build/ALL/gem5.opt -j`nproc`
|
||||
@@ -47,7 +47,7 @@ RUN scons build/ALL/gem5.opt -j`nproc`
|
||||
# Stage 2: The final stage where we create the devcontainer image.
|
||||
# This includes all dependencies for building and running gem5, the
|
||||
# dependencies for developing gem5, and a pre-built gem5 binary.
|
||||
FROM --platform=${BUILDPLATFORM} ghcr.io/gem5/ubuntu-24.04_all-dependencies:v24-0
|
||||
FROM --platform=${BUILDPLATFORM} ghcr.io/gem5/ubuntu-24.04_all-dependencies:latest
|
||||
RUN apt -y update && \
|
||||
apt -y install vim
|
||||
COPY --from=builder /gem5/build/ALL/gem5.opt /usr/local/bin/gem5
|
||||
|
||||
Reference in New Issue
Block a user