Skip to content

Commit

Permalink
fix: replaced awslabs by fuzzinglabs + small docker enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-abel committed Jan 7, 2025
1 parent b17ab00 commit 9eb21ab
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile.base_fuzzer
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.71-slim-bookworm
FROM rust:1.83-slim-bookworm

# Update to nightly toolchain
RUN rustup default nightly
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.base_target
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:edge as base
FROM alpine:edge AS base

RUN apk add --no-cache --initramfs-diskless-boot python3 gdb curl tar build-base perf \
nasm gcc git musl-dbg clang compiler-rt llvm gcompat
2 changes: 1 addition & 1 deletion docker/Dockerfile.snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM ubuntu:$UBUNTU_VERSION

# Install prereqs
ARG DEBIAN_FRONTEND=noninteractive
ARG TZ="America/Chicago"
ARG TZ="Europe/Paris"
RUN apt-get update -q \
&& apt-get install -y --no-install-recommends -q \
build-essential \
Expand Down
4 changes: 2 additions & 2 deletions docker/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CTRT ?= docker
GLOBAL_TAG ?= ghcr.io/awslabs/snapchange
GLOBAL_TAG ?= ghcr.io/fuzzinglabs/snapchange
KVM_GID ?= $(shell /bin/ls -lan /dev/kvm | cut -d' ' -f4)

all: snapshot_image base_fuzzer_image base_target_image
Expand All @@ -9,7 +9,7 @@ snapshot_image:

# mostly for testing
build-template:
cd ./fuzzer_template && cargo --config 'patch."https://github.com/awslabs/snapchange".snapchange.path = "../../"' build
cd ./fuzzer_template && cargo --config 'patch."https://github.com/fuzzinglabs/snapchange".snapchange.path = "../../"' build

base_fuzzer_image:
$(CTRT) build -t snapchange_base_fuzzer \
Expand Down
2 changes: 1 addition & 1 deletion docker/fuzzer_template/Dockerfile.snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG BASEIMG=harness
FROM $BASEIMG as base

#### snapchange snapshot container ####
FROM ghcr.io/awslabs/snapchange
FROM snapchange_snapshot

# copy whole root filesystem from build environment to this container layer
# SNAPSHOT_INPUT is the location that the snapshotting script will create.
Expand Down
2 changes: 1 addition & 1 deletion examples/06_custom_feedback/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ COPY ./harness/ /opt/
RUN cd /opt/ && make clean && make

#### switch to snapchang container ####
FROM ghcr.io/awslabs/snapchange
FROM ghcr.io/fuzzinglabs/snapchange

# copy whole root filesystem from build environment to this container layer
# SNAPSHOT_INPUT is the location that the snapshotting script will create.
Expand Down

0 comments on commit 9eb21ab

Please sign in to comment.