Code Monkey home page Code Monkey logo

singularity-baton's Introduction

baton, contained

A Singularity container and wrapper script for baton.

Usage

The Singularity image can be built from the recipe file and placed somewhere in your PATH or alongside the wrapper script. (Note that the wrapper script will build the image automatically if it cannot find it in the aforementioned locations.)

The wrapper script runs the baton image with the given arguments. It will automatically bind mount your iRODS environment configuration, associated dependencies and, if necessary, Kerberos configuration. If you specify any --file arguments, those will also be mounted in the container transparently.

Note that the baton suite of programs are prefixed with baton- (e.g., baton-list). The image exposes these instead as separate apps and they can be used through the wrapper script as subcommands. For example:

baton -c "/my/collection" | baton-metaquery --obj

...should be rewritten as:

baton -c "/my/collection" | baton metaquery --obj

However, for convenience -- and so you won't need to change any of your scripts -- the wrapper script also handles the hyphenated-style suite of programs, with appropriate symlinks provided.

singularity-baton's People

Contributors

xophmeister avatar

Watchers

 avatar  avatar

singularity-baton's Issues

Set locale settings

Perl complains about unset locale settings when using baton:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
                LANGUAGE = (unset),
                LC_ALL = (unset),
                LANG = "en_GB.utf8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

These environment variables should be explicitly set within the container to the C locale.

Clean up container

The setup script for the container installs all the necessary bits-and-pieces to build and run baton. Many of these are not required after the binaries are built and it would be useful to trim as much as possible out.

Pin iRODS package version

The iRODS packages are currently installed into the container as the latest available version. This ought to be pinned to a specific version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.