gsdocker marshal/unmarshal library and compile