Skip to content

Commit

Permalink
Removing OCD from docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
ckirsch committed Dec 31, 2024
1 parent 72920e6 commit f921f9d
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -174,37 +174,6 @@ RUN mkdir -p $RISCV \
&& cd build \
&& ninja install

#########################
# OpenOCD builder image #
#########################
FROM ubuntu:latest AS openocdbuilder

ENV TOP=/opt RISCV=/opt/riscv PATH=$PATH:/opt/riscv/bin

WORKDIR $TOP

# install tools to build OpenOCD
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
make git \
gcc libtool libusb-dev \
automake pkg-config \
&& apt clean

RUN git clone https://github.com/riscv/riscv-openocd.git

ENV MAKEFLAGS=-j4

RUN mkdir -p $RISCV \
&& cd riscv-openocd \
&& ./bootstrap \
&& ./configure \
--prefix=$RISCV \
--program-prefix=riscv64- \
&& make \
&& make install

############################
# Selfie interactive image #
############################
Expand Down Expand Up @@ -236,7 +205,6 @@ COPY --from=spikebuilder $RISCV/ $RISCV/
COPY --from=qemubuilder $RISCV/ $RISCV/
COPY --from=boolectorbuilder $RISCV/ $RISCV/
COPY --from=bitwuzlabuilder $RISCV/ $RISCV/
COPY --from=openocdbuilder $RISCV/ $RISCV/

# add selfie sources to the image
COPY . /opt/selfie/
Expand Down

0 comments on commit f921f9d

Please sign in to comment.