Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cookies
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexis POYEN
cookies
Commits
28a70f8e
Commit
28a70f8e
authored
4 years ago
by
Alexis POYEN
Browse files
Options
Downloads
Patches
Plain Diff
Fix: dockerfile building
update DBs
parent
27e99771
No related branches found
No related tags found
No related merge requests found
Pipeline
#13601
failed
4 years ago
Stage: build-and-test-with-sonar-concurrently
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+7
-7
7 additions, 7 deletions
Dockerfile
data/test.db
+0
-0
0 additions, 0 deletions
data/test.db
data/users.db
+0
-0
0 additions, 0 deletions
data/users.db
with
7 additions
and
7 deletions
Dockerfile
+
7
−
7
View file @
28a70f8e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
FROM
golang:alpine
as
server-builder
FROM
golang:alpine
as
server-builder
WORKDIR
/
sdk-go
WORKDIR
/
cookies
RUN
apk update
&&
apk upgrade
&&
\
RUN
apk update
&&
apk upgrade
&&
\
apk add
--no-cache
bash git openssh build-base
apk add
--no-cache
bash git openssh build-base
...
@@ -21,11 +21,11 @@ WORKDIR /app
...
@@ -21,11 +21,11 @@ WORKDIR /app
RUN
apk update
&&
apk add ca-certificates libcap mailcap
RUN
apk update
&&
apk add ca-certificates libcap mailcap
# ca-certificates for autocert (Let's Encrypt) and mailcap to get mime types for downloaded documents
# ca-certificates for autocert (Let's Encrypt) and mailcap to get mime types for downloaded documents
COPY
--from=server-builder /
sdk-go/sdk-go
/app
COPY
--from=server-builder /
cookies/cookies
/app
COPY
--from=server-builder /
sdk-go
/dev_certificates /app/dev_certificates
COPY
--from=server-builder /
cookies
/dev_certificates /app/dev_certificates
COPY
--from=server-builder /
sdk-go
/web /app/web
COPY
--from=server-builder /
cookies
/web /app/web
COPY
--from=server-builder /
sdk-go
/configs /app/configs
COPY
--from=server-builder /
cookies
/configs /app/configs
RUN
setcap
cap_net_bind_service
=
+ep
sdk-go
RUN
setcap
cap_net_bind_service
=
+ep
cookies
ENTRYPOINT
[ "./
sdk-go
"]
ENTRYPOINT
[ "./
cookies
"]
This diff is collapsed.
Click to expand it.
data/test.db
+
0
−
0
View file @
28a70f8e
No preview for this file type
This diff is collapsed.
Click to expand it.
data/users.db
+
0
−
0
View file @
28a70f8e
No preview for this file type
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment