Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
IndexerHelper
Commits
71ab28c3
Unverified
Commit
71ab28c3
authored
Jun 22, 2020
by
Sebastian Schüpbach
Browse files
remove histogram bin
parent
a3e0e3e6
Pipeline
#10400
failed with stages
in 6 minutes and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
71ab28c3
...
...
@@ -6,21 +6,11 @@ COPY . .
RUN
CGO_ENABLED
=
0
GOOS
=
linux
GOARCH
=
amd64 go build
-o
bin/app
-a
gitlab.switch.ch/memoriav/memobase-2020/services/histogram/cmd/webservice
FROM
golang:1.14 as histogram_builder
RUN
adduser
--system
appuser
WORKDIR
$GOPATH/src/gitlab.switch.ch/memoriav/memobase-2020/services/histogram
COPY
. .
RUN
CGO_ENABLED
=
0
GOOS
=
linux
GOARCH
=
amd64 go build
-o
bin/histogram
-a
gitlab.switch.ch/memoriav/memobase-2020/services/histogram/cmd/histogram
FROM
perl:5.30-slim-buster
WORKDIR
/app
COPY
--from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY
--from=builder /go/src/gitlab.switch.ch/memoriav/memobase-2020/services/histogram/bin/app /app
COPY
--from=builder /etc/passwd /etc/passwd
COPY
--from=histogram_builder /go/src/gitlab.switch.ch/memoriav/memobase-2020/services/histogram/bin/histogram /usr/bin
RUN
chmod
+x /usr/bin/histogram
RUN
apt-get update
&&
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment