Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1038d06a
Commit
1038d06a
authored
Mar 27, 2020
by
Tim Rizzi
Committed by
Peter Leitzen
Mar 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Swift Dockerfile to GitLab templates
parent
e51adc71
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
0 deletions
+22
-0
changelogs/unreleased/dockerfile_swift_template.yml
changelogs/unreleased/dockerfile_swift_template.yml
+5
-0
doc/api/templates/dockerfiles.md
doc/api/templates/dockerfiles.md
+4
-0
vendor/Dockerfile/Swift.Dockerfile
vendor/Dockerfile/Swift.Dockerfile
+13
-0
No files found.
changelogs/unreleased/dockerfile_swift_template.yml
0 → 100644
View file @
1038d06a
---
title: "Add Swift Dockerfile to GitLab templates"
merge_request: 28035
author:
type: added
doc/api/templates/dockerfiles.md
View file @
1038d06a
...
@@ -91,6 +91,10 @@ Example response:
...
@@ -91,6 +91,10 @@ Example response:
{
{
"key"
:
"Ruby-alpine"
,
"key"
:
"Ruby-alpine"
,
"name"
:
"Ruby-alpine"
"name"
:
"Ruby-alpine"
},
{
"key"
:
"Swift"
,
"name"
:
"Swift"
}
}
]
]
```
```
...
...
vendor/Dockerfile/Swift.Dockerfile
0 → 100644
View file @
1038d06a
FROM
swift:5.0 as builder
WORKDIR
/src
COPY
. .
RUN
swift build
-c
release
FROM
swift:5.0-slim
WORKDIR
/src
COPY
--from=builder /src .
EXPOSE
8080
CMD
[ ".build/release/app"]
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