James B. Bassingthwaighte

12 papers A* 1Misc 2Journal 9
YearRankTypeTitle / Venue / Authors
2015 J jnl
PLoS Comput. Biol.
Theo Arts, Robert S. Reneman, James B. Bassingthwaighte, Ger J. van der Vusse
2015 J jnl
F1000Research
Bartholomew Jardine, Gary M. Raymond, James B. Bassingthwaighte
2014 J jnl
Bioinform.
Lucian P. Smith, Erik Butterworth, James B. Bassingthwaighte, Herbert M. Sauro
2013 J jnl
F1000Research
Erik Butterworth, Bartholomew Jardine, Gary M. Raymond, Maxwell Lewis Neal, James B. Bassingthwaighte
2009 Misc conf
Pacific Symposium on Biocomputing
Roy Kerckhoffs, James B. Bassingthwaighte, Jeff Reinbolt, Peter W. Arzberger
2008 J jnl
IEEE Signal Process. Mag.
James B. Bassingthwaighte, Howard Jay Chizeck
2006 Misc conf
AMIA
Daniel L. Rubin, David Grossman, Maxwell Lewis Neal, Daniel L. Cook, James B. Bassingthwaighte, Mark A. Musen
2006 J jnl
Proc. IEEE
James B. Bassingthwaighte, Howard Jay Chizeck, Les E. Atlas
2002 J jnl
Comput. Methods Programs Biomed.
Richard P. Beyer, James B. Bassingthwaighte, Andreas J. Deussen
1988 J jnl
Proc. IEEE
James B. Bassingthwaighte, J. H. G. M. Van Beek
1975 J jnl
Comput. Graph.
P. M. Sidell, D. U. Anderson, Thomas J. Knopp, James B. Bassingthwaighte
1974 A* conf
SIGGRAPH
P. M. Sidell, D. U. Anderson, Thomas J. Knopp, James B. Bassingthwaighte
docker-build.sh
← Index docker-build.sh bash
#!/bin/bash

set -e

echo "Building REDB Docker image for linux/amd64 platform..."

# Function to tag the most recent <none> image
tag_unnamed_image() {
    local tag_name=$1
    local expected_size=$2
    
    # Get the most recent <none> image
    local image_id=$(docker images --filter "dangling=true" --format "{{.ID}}" | head -1)
    
    if [ -z "$image_id" ]; then
        echo "ERROR: No unnamed image found. Build may have failed."
        return 1
    fi
    
    local actual_size=$(docker images --format "table {{.ID}}\t{{.Size}}" | grep $image_id | awk '{print $2}')
    echo "Found image $image_id with size: $actual_size (expected: $expected_size)"
    
    # Tag the image
    echo "Tagging as $tag_name..."
    docker tag $image_id $tag_name
    
    return 0
}

# Build single unified image
echo ""
echo "Building REDB unified image - Supports both feature extraction and decompilation..."
echo "NOTE: If build hangs at 'exporting to image', press Ctrl+C - the image will still be created!"
echo ""

docker build --platform linux/amd64 -f Dockerfile -t redb:latest . || echo "Build interrupted (this is expected due to Docker Desktop bug)"

# Tag the image if it was built as unnamed
if docker images --filter "dangling=true" --format "{{.ID}}" | head -1 | grep -q "."; then
    tag_unnamed_image "redb:latest" "500MB"
fi

echo ""
echo "Docker build completed!"
echo ""
echo "Available images:"
docker images | grep redb

echo ""
echo "Image size:"
echo "REDB unified image: $(docker images redb:latest --format "{{.Size}}")"

echo ""
echo "Usage:"
echo "  Feature extraction: docker run redb:latest python3 start.py --nomad-job"
echo "  Decompilation:      docker run redb:latest python3 start.py --nomad-job --decompile"
echo "  Custom modules:     docker run redb:latest python3 start.py --nomad-job --modules BasicPropertiesExtractor,PEFeaturesExtractor"