...
 
Commits (2)
FROM golang:alpine AS builder
LABEL authors="Christian Muehlhaeuser: muesli@gmail.com"
# Install git & make
# Git is required for fetching the dependencies
RUN apk update && \
apk add --no-cache git alpine-sdk ca-certificates aqbanking aqbanking-dev gwenhywfar-dev && \
update-ca-certificates
# Set the working directory for the container
WORKDIR /go/sangha
# Build the binary
COPY . .
RUN go build
FROM alpine
RUN apk update && \
apk add --no-cache ca-certificates tzdata aqbanking gwenhywfar && \
update-ca-certificates
COPY --from=builder /go/sangha/hbci /go/bin/hbci
# create a volume for the configuration persistence
VOLUME /conf
# This form of ENTRYPOINT allows the sangha process to catch signals from the `docker stop` command
ENTRYPOINT /go/bin/hbci --config /conf/hbci.conf fetch
module gitlab.techcultivation.org/sangha/payment-processors/hbci
go 1.12
require (
github.com/Rhymond/go-money v0.3.8 // indirect
github.com/badoux/checkmail v0.0.0-20181210160741-9661bd69e9ad // indirect
github.com/davecgh/go-spew v1.1.1
github.com/emicklei/go-restful v2.9.3+incompatible // indirect
github.com/emicklei/go-restful-swagger12 v0.0.0-20170926063155-7524189396c6 // indirect
github.com/gosimple/slug v1.7.0 // indirect
github.com/lib/pq v1.1.1 // indirect
github.com/muesli/cache2go v0.0.0-20190501130654-46a3a44c1a5f // indirect
github.com/muesli/smolder v0.0.0-20190507222828-2d53810bc138 // indirect
github.com/muesli/toktok v0.0.0-20181030220647-94235782aeac // indirect
github.com/rainycape/unidecode v0.0.0-20150907023854-cb7f23ec59be // indirect
github.com/satori/go.uuid v1.2.0 // indirect
github.com/sirupsen/logrus v1.4.1
github.com/spf13/cobra v0.0.3
github.com/spf13/pflag v1.0.3 // indirect
github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94 // indirect
github.com/umsatz/go-aqbanking v0.0.0-20181222215418-d20523c254b8
github.com/xrash/smetrics v0.0.0-20170218160415-a3153f7040e9 // indirect
gitlab.techcultivation.org/sangha/mq v0.0.0-20181128100227-b69bcf6541df
gitlab.techcultivation.org/sangha/sangha v0.0.0-20190507231017-984346610f18
golang.org/x/crypto v0.0.0-20190506204251-e1dfcc566284 // indirect
)
github.com/Rhymond/go-money v0.3.8 h1:8868n2pReSGfyA/WUcXiNqub8CzQPtRtIz0cohiNlZI=
github.com/Rhymond/go-money v0.3.8/go.mod h1:ihsrGugjgJuMC5EmqEAEMtX59eGEPZtS8efxrQSHDNA=
github.com/badoux/checkmail v0.0.0-20181210160741-9661bd69e9ad h1:kXfVkP8xPSJXzicomzjECcw6tv1Wl9h1lNenWBfNKdg=
github.com/badoux/checkmail v0.0.0-20181210160741-9661bd69e9ad/go.mod h1:r5ZalvRl3tXevRNJkwIB6DC4DD3DMjIlY9NEU1XGoaQ=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/emicklei/go-restful v2.9.3+incompatible h1:2OwhVdhtzYUp5P5wuGsVDPagKSRd9JK72sJCHVCXh5g=
github.com/emicklei/go-restful v2.9.3+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs=
github.com/emicklei/go-restful-swagger12 v0.0.0-20170926063155-7524189396c6 h1:V94anc0ZG3Pa/cAMwP2m1aQW3+/FF8Qmw/GsFyTJAp4=
github.com/emicklei/go-restful-swagger12 v0.0.0-20170926063155-7524189396c6/go.mod h1:qr0VowGBT4CS4Q8vFF8BSeKz34PuqKGxs/L0IAQA9DQ=
github.com/gosimple/slug v1.7.0 h1:BlCZq+BMGn+riOZuRKnm60Fe7+jX9ck6TzzkN1r8TW8=
github.com/gosimple/slug v1.7.0/go.mod h1:ER78kgg1Mv0NQGlXiDe57DpCyfbNywXXZ9mIorhxAf0=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/lib/pq v1.1.1 h1:sJZmqHoEaY7f+NPP8pgLB/WxulyR3fewgCM2qaSlBb4=
github.com/lib/pq v1.1.1/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
github.com/muesli/cache2go v0.0.0-20190501130654-46a3a44c1a5f h1:RtW2I8cNufG1wyARIuymCJxjR7I8OZhXfvT/dhbtieA=
github.com/muesli/cache2go v0.0.0-20190501130654-46a3a44c1a5f/go.mod h1:414R+qZrt4f9S2TO/s6YVQMNAXR2KdwqQ7pW+O4oYzU=
github.com/muesli/smolder v0.0.0-20190507222828-2d53810bc138 h1:mx7ZaCHlDso/hZzKe6pNbaaVglc3wOMPTww2CFMyOMQ=
github.com/muesli/smolder v0.0.0-20190507222828-2d53810bc138/go.mod h1:vBtOJlVGxLheofBQdKVQGaG40aJQUwr6Lh4PVliqebY=
github.com/muesli/toktok v0.0.0-20181030220647-94235782aeac h1:gaCtxgTLdtiUrYJGFzIMsOtLj4U4Ujm0jguFTlqnSb0=
github.com/muesli/toktok v0.0.0-20181030220647-94235782aeac/go.mod h1:d8HTLNpy1JgNv20TmtBSaqKDtm8bfxUY5YJttu8a88Q=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/rainycape/unidecode v0.0.0-20150907023854-cb7f23ec59be h1:ta7tUOvsPHVHGom5hKW5VXNc2xZIkfCKP8iaqOyYtUQ=
github.com/rainycape/unidecode v0.0.0-20150907023854-cb7f23ec59be/go.mod h1:MIDFMn7db1kT65GmV94GzpX9Qdi7N/pQlwb+AN8wh+Q=
github.com/satori/go.uuid v1.2.0 h1:0uYX9dsZ2yD7q2RtLRtPSdGDWzjeM3TbMJP9utgA0ww=
github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0=
github.com/sirupsen/logrus v1.4.1 h1:GL2rEmy6nsikmW0r8opw9JIRScdMF5hA8cOYLH7In1k=
github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q=
github.com/spf13/cobra v0.0.3 h1:ZlrZ4XsMRm04Fr5pSFxBgfND2EBVa1nLpiy1stUsX/8=
github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg=
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94 h1:0ngsPmuP6XIjiFRNFYlvKwSr5zff2v+uPHaffZ6/M4k=
github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw=
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/umsatz/go-aqbanking v0.0.0-20181222215418-d20523c254b8 h1:+MSEgbnWAXYl1uihopb6TgitKyiXKcxg/WkKXHZhNAc=
github.com/umsatz/go-aqbanking v0.0.0-20181222215418-d20523c254b8/go.mod h1:4StqrGH/KnwlaNAlqMVJXqXkmPyGFG77xffaUuJZiKo=
github.com/xrash/smetrics v0.0.0-20170218160415-a3153f7040e9 h1:w8V9v0qVympSF6GjdjIyeqR7+EVhAF9CBQmkmW7Zw0w=
github.com/xrash/smetrics v0.0.0-20170218160415-a3153f7040e9/go.mod h1:N3UwUGtsrSj3ccvlPHLoLsHnpR27oXr4ZE984MbSER8=
gitlab.techcultivation.org/sangha/mq v0.0.0-20181128100227-b69bcf6541df h1:RgOSK2bMG1FsHNnpfkOJVT0nvM558KQgGLFYqnAPNIg=
gitlab.techcultivation.org/sangha/mq v0.0.0-20181128100227-b69bcf6541df/go.mod h1:wxCTJftFNlxaUyk7KdKiy03oRFE9KqKBXHmQHIsq3R4=
gitlab.techcultivation.org/sangha/sangha v0.0.0-20190507231017-984346610f18 h1:UJoqfDK1x2uc/OeSEdW8pNwSZOi3BIIbozp8/gGm2Xs=
gitlab.techcultivation.org/sangha/sangha v0.0.0-20190507231017-984346610f18/go.mod h1:jnz/9T1PO96d48SFTa4Gi1iWzatlmcRfdK4b5TLe1II=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20190506204251-e1dfcc566284 h1:rlLehGeYg6jfoyz/eDqDU1iRXLKfR42nnNh57ytKEWo=
golang.org/x/crypto v0.0.0-20190506204251-e1dfcc566284/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33 h1:I6FyU15t786LL7oL/hn43zqTuEGr4PN7F4XJ1p4E3Y8=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d h1:+R4KGOnez64A81RvjARKc4UT5/tI9ujCIVX+P5KiHuI=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=