Skip to content

Docker image packaging of perl and golang to export data for migration

Notifications You must be signed in to change notification settings

dictybase-docker/migration-data-export

Repository files navigation

Migration data export

This is a source repository for docker image to run all data export tasks of dictybase overhaul project.

Exporting data

Prerequisites

Build the image

docker build --rm dictybase/migration-data-export .

For MacOSX with M1 chip system add the platform argument.

docker build --rm --platform linux/amd64 dictybase/migration-data-export .

Running the exports

  • Connect to NU VPN.

Stockcenter

  • Run compose
docker-compose -f dsc.yml up

It should take around few hours to complete. The script generally stay in the terminal even after it got finished. So, close it by pressing Ctrl+c.

  • Run make task
make create-tarball

Will export data from containers to a folder named data in the current directory.

Command line (for understanding purpose only)

docker run --rm dictybase/migration-data-export -h

It will print out all the available scripts.

About

Docker image packaging of perl and golang to export data for migration

Resources

Stars

Watchers

Forks

Packages

No packages published