Ramjeevan Singh Thakur

13 papers B 1Journal 6Unranked 6
YearRankTypeTitle / Venue / Authors
2021 J jnl
Multim. Tools Appl.
Pushpendra Kumar, Ramjeevan Singh Thakur
2019 J jnl
Iran J. Comput. Sci.
Pushpendra Kumar, Vinod Kumar, Ramjeevan Singh Thakur
2016 J jnl
Int. J. Comput. Sci. Math.
Dharmendra Singh Rajput, Ramjeevan Singh Thakur, Ghanshyam Singh Thakur
2016 conf
ICTCS
Shaligram Prajapat, Ramjeevan Singh Thakur
2015 conf
ICCSA (4)
Shaligram Prajapat, Ramjeevan Singh Thakur
2015 conf
ICCSA (5)
Shaligram Prajapat, Ramjeevan Singh Thakur
2015 J jnl
Int. J. Data Min. Model. Manag.
Vivek Tiwari, Ramjeevan Singh Thakur
2014 J jnl
Int. J. Inf. Commun. Technol.
Varsha Namdeo, Ramjeevan Singh Thakur
2014 J jnl
Int. J. Bus. Intell. Res.
Ramjeevan Singh Thakur, Vivek Tiwari
2012 conf
SocProS
Dharmendra Singh Rajput, Ramjeevan Singh Thakur, Ghanshyam Singh Thakur
2012 conf
SocProS
Neeraj Sahu, Ramjeevan Singh Thakur, Ghanshyam Singh Thakur
2011 conf
SocProS (2)
Ghanshyam Singh Thakur, Ramjeevan Singh Thakur, Ravi Singh Thakur
2008 B conf
IJCNN
Ramjeevan Singh Thakur, R. C. Jain, K. R. Pardasani
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"