mirror of
https://github.com/YosysHQ/yosys
synced 2026-06-02 07:07:56 +00:00
Merge pull request #5678 from YosysHQ/emil/remove-dockerfile
Dockerfile: remove
This commit is contained in:
commit
b890b1b43f
1 changed files with 0 additions and 58 deletions
58
Dockerfile
58
Dockerfile
|
|
@ -1,58 +0,0 @@
|
||||||
ARG IMAGE="python:3-slim-buster"
|
|
||||||
|
|
||||||
#---
|
|
||||||
|
|
||||||
FROM $IMAGE AS base
|
|
||||||
|
|
||||||
RUN apt-get update -qq \
|
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends \
|
|
||||||
ca-certificates \
|
|
||||||
clang \
|
|
||||||
lld \
|
|
||||||
curl \
|
|
||||||
libffi-dev \
|
|
||||||
libreadline-dev \
|
|
||||||
tcl-dev \
|
|
||||||
graphviz \
|
|
||||||
xdot \
|
|
||||||
&& apt-get autoclean && apt-get clean && apt-get -y autoremove \
|
|
||||||
&& update-ca-certificates \
|
|
||||||
&& rm -rf /var/lib/apt/lists
|
|
||||||
|
|
||||||
#---
|
|
||||||
|
|
||||||
FROM base AS build
|
|
||||||
|
|
||||||
RUN apt-get update -qq \
|
|
||||||
&& DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends \
|
|
||||||
bison \
|
|
||||||
flex \
|
|
||||||
gawk \
|
|
||||||
gcc \
|
|
||||||
git \
|
|
||||||
iverilog \
|
|
||||||
pkg-config \
|
|
||||||
&& apt-get autoclean && apt-get clean && apt-get -y autoremove \
|
|
||||||
&& rm -rf /var/lib/apt/lists
|
|
||||||
|
|
||||||
COPY . /yosys
|
|
||||||
|
|
||||||
ENV PREFIX /opt/yosys
|
|
||||||
|
|
||||||
RUN cd /yosys \
|
|
||||||
&& make \
|
|
||||||
&& make install \
|
|
||||||
&& make test
|
|
||||||
|
|
||||||
#---
|
|
||||||
|
|
||||||
FROM base
|
|
||||||
|
|
||||||
COPY --from=build /opt/yosys /opt/yosys
|
|
||||||
|
|
||||||
ENV PATH /opt/yosys/bin:$PATH
|
|
||||||
|
|
||||||
RUN useradd -m yosys
|
|
||||||
USER yosys
|
|
||||||
|
|
||||||
CMD ["yosys"]
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue