2020-05-23 03:45:59 +08:00
|
|
|
# Docker images hosted at firesim/firesim-ci
|
|
|
|
FROM centos:centos7.6.1810
|
|
|
|
|
|
|
|
RUN yum -y install sudo epel-release
|
|
|
|
# aws fpga dev ami comes with this: pip2
|
|
|
|
RUN yum -y install python-pip
|
2021-02-11 07:29:58 +08:00
|
|
|
# Match the version on the dev ami
|
|
|
|
RUN pip2 install --upgrade pip==18.0
|
2022-01-21 03:03:37 +08:00
|
|
|
# Provide a baseline of version for GH-A CI to use.
|
|
|
|
# If GH-A CI uses its native version to initialize the repo, future submodule
|
2020-05-23 07:39:21 +08:00
|
|
|
# initializations with the machine-launch installed version of git produce very
|
|
|
|
# non-intuitive results
|
|
|
|
# (the chipyard submodule is initialized to an apparently random commit)
|
|
|
|
# If we want to get rid of this we could reclone the repo under the updated git
|
2022-02-01 07:31:42 +08:00
|
|
|
RUN yum -y install https://repo.ius.io/ius-release-el7.rpm
|
|
|
|
RUN yum -y install git224
|
2020-05-23 03:45:59 +08:00
|
|
|
|
|
|
|
RUN adduser centos
|
|
|
|
RUN usermod -aG wheel centos
|
|
|
|
RUN echo "centos ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
|