util-docker: Add labels to Dockerfiles (#1528)
This PR adds labels to Dockerfiles. The labels are the source (https://github.com/gem5/gem5), a description, and the license. Change-Id: I47ce432257641b394efef4958f1474eefe2a11c1 Co-authored-by: Harshil Patel <harshilp2107@gmail.com>
This commit is contained in:
committed by
GitHub
parent
403622f376
commit
a5a3810ac9
@@ -1,3 +1,7 @@
|
||||
LABEL org.opencontainers.image.source=https://github.com/gem5/gem5
|
||||
LABEL org.opencontainers.image.description="A Dockerfile to build an Ubuntu 24.04 docker image with all dependencies for gem5, with Clang 16."
|
||||
LABEL org.opencontainers.image.licenses=BSD-3-Clause
|
||||
|
||||
FROM --platform=${BUILDPLATFORM} ghcr.io/gem5/ubuntu-24.04_all-dependencies:latest
|
||||
|
||||
ARG version=16 # Version of Clang to install in this image. Default is 16.
|
||||
|
||||
@@ -28,7 +28,11 @@
|
||||
# ./devcontainer/devcontainer.json. The devcontainer is a multi-platform
|
||||
# container that can be built for x86, arm, and riscv and includes all
|
||||
# dependencies required for gem5 development.
|
||||
#
|
||||
|
||||
LABEL org.opencontainers.image.source=https://github.com/gem5/gem5
|
||||
LABEL org.opencontainers.image.description="This Dockerfile creates a devcontainer for gem5 development referenced in ./devcontainer/devcontainer.json. The devcontainer is a multi-platform container that can be built for x86, arm, and riscv and includes all dependencies required for gem5 development."
|
||||
LABEL org.opencontainers.image.licenses=BSD-3-Clause
|
||||
|
||||
# As this is a multi-platform image, we must build it using the
|
||||
# "docker-bake.hcl" specification via `docker buildx`. To do so, execute the
|
||||
# following:
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
LABEL org.opencontainers.image.source=https://github.com/gem5/gem5
|
||||
LABEL org.opencontainers.image.description="A Dockerfile to build an Ubuntu 24.04 docker image with all dependencies for gem5, with GCC 13."
|
||||
LABEL org.opencontainers.image.licenses=BSD-3-Clause
|
||||
|
||||
FROM --platform=${BUILDPLATFORM} ghcr.io/gem5/ubuntu-24.04_all-dependencies:latest
|
||||
|
||||
ARG version=13 # Version of GCC to install in this image. Default is 13.
|
||||
|
||||
@@ -24,6 +24,10 @@
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
LABEL org.opencontainers.image.source=https://github.com/gem5/gem5
|
||||
LABEL org.opencontainers.image.description="This dockerfile contains all the dependences necessary to run GPU applications in gem5 using the gcn5 (Vega) APU model."
|
||||
LABEL org.opencontainers.image.licenses=BSD-3-Clause
|
||||
|
||||
FROM --platform=${BUILDPLATFORM} ubuntu:20.04
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
|
||||
@@ -27,6 +27,10 @@
|
||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
LABEL org.opencontainers.image.source=https://github.com/gem5/gem5
|
||||
LABEL org.opencontainers.image.description="The Dockerfile in this directory is used to build applications to be run with GPU full system. Applications targeting AMD's ROCm GPU framework can be built using this docker (e.g., HIP, HSA, OpenCL, etc.)."
|
||||
LABEL org.opencontainers.image.licenses=BSD-3-Clause
|
||||
|
||||
FROM --platform=${BUILDPLATFORM} ubuntu:22.04
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt -y update && apt -y upgrade && \
|
||||
|
||||
@@ -24,6 +24,11 @@
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
|
||||
LABEL org.opencontainers.image.source=https://github.com/gem5/gem5
|
||||
LABEL org.opencontainers.image.description="A Dockerfile for using SST with gem5."
|
||||
LABEL org.opencontainers.image.licenses=BSD-3-Clause
|
||||
|
||||
FROM --platform=${BUILDPLATFORM} ghcr.io/gem5/ubuntu-24.04_all-dependencies:latest
|
||||
|
||||
# Setting the environmental variables
|
||||
|
||||
@@ -24,6 +24,11 @@
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
|
||||
LABEL org.opencontainers.image.source=https://github.com/gem5/gem5
|
||||
LABEL org.opencontainers.image.description="A Dockerfile for using SystemC with gem5."
|
||||
LABEL org.opencontainers.image.licenses=BSD-3-Clause
|
||||
|
||||
FROM --platform=${BUILDPLATFORM} ghcr.io/gem5/ubuntu-24.04_all-dependencies:latest
|
||||
|
||||
ENV CXX="g++"
|
||||
|
||||
@@ -24,6 +24,11 @@
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
|
||||
LABEL org.opencontainers.image.source=https://github.com/gem5/gem5
|
||||
LABEL org.opencontainers.image.description="A Dockerfile to build an Ubuntu 22.04 docker image with all dependencies required for building and using gem5."
|
||||
LABEL org.opencontainers.image.licenses=BSD-3-Clause
|
||||
|
||||
FROM --platform=${BUILDPLATFORM} ubuntu:22.04
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
@@ -24,6 +24,11 @@
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
|
||||
LABEL org.opencontainers.image.source=https://github.com/gem5/gem5
|
||||
LABEL org.opencontainers.image.description="A Dockerfile to build an Ubuntu 24.04 docker image with all dependencies required for building and using gem5."
|
||||
LABEL org.opencontainers.image.licenses=BSD-3-Clause
|
||||
|
||||
FROM --platform=${BUILDPLATFORM} ubuntu:24.04
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
@@ -24,6 +24,11 @@
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
|
||||
LABEL org.opencontainers.image.source=https://github.com/gem5/gem5
|
||||
LABEL org.opencontainers.image.description="A Dockerfile to build an Ubuntu 24.04 docker image with minimal dependencies required for building and using gem5."
|
||||
LABEL org.opencontainers.image.licenses=BSD-3-Clause
|
||||
|
||||
FROM --platform=${BUILDPLATFORM} ubuntu:24.04
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
Reference in New Issue
Block a user