heavyhorst / unoconv-api Goto Github PK
View Code? Open in Web Editor NEWrun unoconv as a webservice
Home Page: https://quay.io/repository/kaufmann_r/unoconv-api
License: MIT License
run unoconv as a webservice
Home Page: https://quay.io/repository/kaufmann_r/unoconv-api
License: MIT License
How about python less?
https://github.com/minhajuddinkhan/rtf
https://github.com/dveselov/go-libreofficekit
Since the merge with the TokyoFarmer fork the command docker build .
is not working anymore.
Reeding the commit history, it was introduced a change that uses "go 1.11 modules support".
The Docker file is installing the default ubuntu xenial version of Go that is 1.6.2.
Whit this changes to the RUN command in the Docker file I was able to install the rigth version:
RUN \
apt-get update && \
DEBIAN_FRONTEND=noninteractive \
apt-get upgrade -y && \
apt-get install -y \
locales \
unoconv \
gcc \
supervisor \
software-properties-common &&\
add-apt-repository ppa:longsleep/golang-backports &&\
apt-get update -y &&\
apt-get install -y golang-go &&\
go install github.com/HeavyHorst/unoconv-api && \
apt-get remove -y golang-go gcc && \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/
At this point I started to get a new error when the build try to execute go install github.com/HeavyHorst/unoconv-api
.
go/src/github.com/HeavyHorst/unoconv-api/main.go:14:2: cannot find package "github.com/okzk/sdnotify" in any of:
/usr/lib/go-1.11/src/github.com/okzk/sdnotify (from $GOROOT)
/go/src/github.com/okzk/sdnotify (from $GOPATH)
go/src/github.com/HeavyHorst/unoconv-api/main.go:10:2: cannot find package "github.com/rs/xaccess" in any of:
/usr/lib/go-1.11/src/github.com/rs/xaccess (from $GOROOT)
/go/src/github.com/rs/xaccess (from $GOPATH)
go/src/github.com/HeavyHorst/unoconv-api/main.go:11:2: cannot find package "github.com/rs/xhandler" in any of:
/usr/lib/go-1.11/src/github.com/rs/xhandler (from $GOROOT)
/go/src/github.com/rs/xhandler (from $GOPATH)
go/src/github.com/HeavyHorst/unoconv-api/config.go:6:2: cannot find package "github.com/rs/xlog" in any of:
/usr/lib/go-1.11/src/github.com/rs/xlog (from $GOROOT)
/go/src/github.com/rs/xlog (from $GOPATH)
go/src/github.com/HeavyHorst/unoconv-api/handler.go:12:2: cannot find package "github.com/rs/xmux" in any of:
/usr/lib/go-1.11/src/github.com/rs/xmux (from $GOROOT)
/go/src/github.com/rs/xmux (from $GOPATH)
go/src/github.com/HeavyHorst/unoconv-api/utils.go:7:2: cannot find package "github.com/saintfish/chardet" in any of:
/usr/lib/go-1.11/src/github.com/saintfish/chardet (from $GOROOT)
/go/src/github.com/saintfish/chardet (from $GOPATH)
go/src/github.com/HeavyHorst/unoconv-api/handler.go:13:2: cannot find package "golang.org/x/net/context" in any of:
/usr/lib/go-1.11/src/golang.org/x/net/context (from $GOROOT)
/go/src/golang.org/x/net/context (from $GOPATH)
go/src/github.com/HeavyHorst/unoconv-api/utils.go:6:2: cannot find package "gopkg.in/iconv.v1" in any of:
/usr/lib/go-1.11/src/gopkg.in/iconv.v1 (from $GOROOT)
/go/src/gopkg.in/iconv.v1 (from $GOPATH)
I have almost no experience with golang. Apparently he is not using the go.mod file correctly.
I have fixed this using a docker multi-stage build. Would a PR be welcome?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.