Skip to content

conao3/docker-po4a

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://raw.githubusercontent.com/conao3/files/master/blob/headers/png/docker-po4a.png https://img.shields.io/github/license/conao3/docker-po4a.svg?style=flat-square https://img.shields.io/github/tag/conao3/docker-po4a.svg?style=flat-square https://img.shields.io/travis/conao3/docker-po4a/master.svg?style=flat-square https://img.shields.io/codacy/grade/584837007e474772986ff903b8cdeb03.svg?logo=codacy&style=flat-square https://img.shields.io/badge/patreon-become%20a%20patron-orange.svg?logo=patreon&style=flat-square https://img.shields.io/badge/twitter-@conao__3-blue.svg?logo=twitter&style=flat-square https://img.shields.io/badge/chat-on_slack-blue.svg?logo=slack&style=flat-square

Table of Contents

Description

docker-po4a is standalone po4a.

Install

Depend Docker.

brew install docker
brew cask install docker

# docker start-up test
docker version

Usage

Using po4a

Run docker-po4a like as below.

docker container run -i --rm conao3/po4a:0.55 --version
    po4a version 0.55.
    Written by Martin Quinson and Denis Barbier.

    Copyright © 2002-2018 Software in the Public Interest, Inc.
    This is free software; see source code for copying
    conditions. There is NO warranty; not even for
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Or, alias it.

alias po4a0.55='docker container run -i --rm conao3/po4a:0.55'
po4a0.55 --version
    po4a version 0.55.
    Written by Martin Quinson and Denis Barbier.

    Copyright © 2002-2018 Software in the Public Interest, Inc.
    This is free software; see source code for copying
    conditions. There is NO warranty; not even for
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Using other bundled tool

Since ENTRYPOINT is po4a, override ENTRYPOINT to use other po4a tool.

docker container run -i --rm  --entrypoint="" conao3/po4a:0.55 po4a-translate --version
    po4a-translate version 0.55.
    Written by Martin Quinson and Denis Barbier.
  
    Copyright © 2002-2018 Software in the Public Interest, Inc.
    This is free software; see source code for copying
    conditions. There is NO warranty; not even for
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  
alias po4a-translate0.55='docker container run -i --rm  --entrypoint="" conao3/po4a:0.55 po4a-translate'
po4a-translate0.55 --version
    po4a-translate version 0.55.
    Written by Martin Quinson and Denis Barbier.
  
    Copyright © 2002-2018 Software in the Public Interest, Inc.
    This is free software; see source code for copying
    conditions. There is NO warranty; not even for
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Below tools are all po4a bundled tools.

alias po4a0.55='docker container run -i --rm conao3/po4a:0.55'
alias po4a-gettextize0.55='docker container run -i --rm  --entrypoint="" conao3/po4a:0.55 po4a-gettextize'
alias po4a-normalize0.55='docker container run -i --rm  --entrypoint="" conao3/po4a:0.55 po4a-normalize'
alias po4a-translate0.55='docker container run -i --rm  --entrypoint="" conao3/po4a:0.55 po4a-translate'
alias po4a-updatepo0.55='docker container run -i --rm  --entrypoint="" conao3/po4a:0.55 po4a-updatepo'

Information

Donation

I love OSS and I am dreaming of working on it as full-time job.

With your support, I will be able to spend more time at OSS!

https://c5.patreon.com/external/logo/become_a_patron_button.png

Community

All feedback and suggestions are welcome!

You can use github issues, but you can also use Slack if you want a more casual conversation.

Contribution

Feel free to send PR!

License

Affero General Public License Version 3 (AGPLv3)
Copyright (c) Naoya Yamashita - https://conao3.com
https://github.com/conao3/docker-po4a/blob/master/LICENSE

Author

Contributors

  • Not yet… Now send PR and add your name!!

About

po4a meets docker as standalone CLI tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published