Imran Khaliq

12 papers B 1C 2Misc 1Unranked 8
YearRankTypeTitle / Venue / Authors
2021 Misc conf
EICS
Nilufar Baghaei, Lehan Stemmet, Imran Khaliq, Atefeh Ahmadi, Ilona Halim, Hai-Ning Liang, Wenge Xu, Mark Billinghurst, Richard Porter
2021 conf
ISMAR Adjunct
Nilufar Baghaei, Atefeh Ahmadi, Imran Khaliq, Hai-Ning Liang
2020 conf
CHI Extended Abstracts
Nilufar Baghaei, Lehan Stemmet, Andrej Hlasnik, Konstantin Emanov, Sylvia Hach, John A. Naslund, Mark Billinghurst, Imran Khaliq, Hai-Ning Liang
2019 conf
GEM
Isabelle Dela Torre, Imran Khaliq
2019 conf
GOODTECHS
Imran Khaliq, Isabelle Dela Torre
2019 conf
ISMAR Adjunct
Nilufar Baghaei, Sylvia Hach, Imran Khaliq, Lehan Stemmet, Jamuna Krishnan, John A. Naslund, Hai-Ning Liang, Hamid R. Sharifzadeh
2018 conf
GEM
Imran Khaliq, Zachary Watson
2017 conf
GOODTECHS
Imran Khaliq, Jc Fowles, Callan Moore
2015 conf
GEM
Imran Khaliq, Blair Purkiss
2013 C conf
CTW
Imran Khaliq, Gulshad Imran
2011 C conf
CiE
Imran Khaliq, Bakhadyr Khoussainov, Jiamou Liu
2009 B conf
MFCS
Bakhadyr Khoussainov, Jiamou Liu, Imran Khaliq
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"