Skip to content
Snippets Groups Projects

Road Logic Suite v1.0.0

Merged kashif ilyas requested to merge (removed):initial-code-v1.0.0 into main
340 files
+ 30988
1
Compare changes
  • Side-by-side
  • Inline
Files
340
+ 53
0
# *******************************************************************************
# Copyright (C) 2023, ANSYS, Inc.
#
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
# *******************************************************************************
FROM ubuntu:22.04 AS build-base
RUN apt-get --quiet update && \
DEBIAN_FRONTEND=noninteractive apt-get --quiet install -y --no-install-recommends \
build-essential \
git \
curl \
ca-certificates \
clang-format \
clang-tidy \
# required for code coverage :
lcov \
default-jre default-jdk \
# reuqired by doxygen:
doxygen \
graphviz \
# required by test output generation :
xsltproc
ARG BAZELISK_VERSION=v1.10.1
ARG BAZELISK_DOWNLOAD_SHA=4cb534c52cdd47a6223d4596d530e7c9c785438ab3b0a49ff347e991c210b2cd
RUN curl -fSsL -o /usr/local/bin/bazel https://github.com/bazelbuild/bazelisk/releases/download/${BAZELISK_VERSION}/bazelisk-linux-amd64 \
&& echo "${BAZELISK_DOWNLOAD_SHA} */usr/local/bin/bazel" | sha256sum --check - \
&& chmod 0755 /usr/local/bin/bazel
ARG BUILDIFIER_VERSION=6.0.0
ARG BUILDIFIER_SHA=7ff82176879c0c13bc682b6b0e482d670fbe13bbb20e07915edb0ad11be50502
RUN curl -fSsL -L -o /usr/local/bin/buildifier \
"https://github.com/bazelbuild/buildtools/releases/download/${BUILDIFIER_VERSION}/buildifier-linux-amd64" \
&& echo "${BUILDIFIER_SHA} */usr/local/bin/buildifier" | sha256sum --check - \
&& chmod 0755 /usr/local/bin/buildifier
ARG SHFMT_VERSION=v3.6.0
ARG SHFMT_SHA=5741a02a641de7e56b8da170e71a97e58050d66a3cf485fb268d6a5a8bb74afb
RUN curl -fSsL -L -o /usr/local/bin/shfmt \
"https://github.com/mvdan/sh/releases/download/${SHFMT_VERSION}/shfmt_${SHFMT_VERSION}_linux_amd64" \
&& echo "${SHFMT_SHA} */usr/local/bin/shfmt" | sha256sum --check - \
&& chmod 0755 /usr/local/bin/shfmt
Loading