Skip to content

Commit

Permalink
unblob: fix dependency install
Browse files Browse the repository at this point in the history
We recently merged⁰ the Rust part of unblob (so called 'unblob-native')
into unblob and re-organized the repository structure in the process.

This broke OSS-fuzz integration for unblob since the bash script that
installs dependencies no longer lives at this address.

[0] onekey-sec/unblob#1096
  • Loading branch information
qkaiser committed Feb 21, 2025
1 parent e748d5b commit b7b0e7b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion projects/unblob/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,17 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM gcr.io/oss-fuzz-base/base-builder-python

RUN pip3 install --upgrade pip

RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN rustup install stable
RUN rustup default stable

RUN git clone https://github.com/onekey-sec/unblob
RUN unblob/unblob/install-deps.sh

RUN unblob/install-deps.sh
RUN pip install ./unblob

COPY build.sh $SRC/
Expand Down

0 comments on commit b7b0e7b

Please sign in to comment.