Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
admin-backend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Odysseus
admin-backend
Commits
e0008b70
Commit
e0008b70
authored
Feb 02, 2024
by
brent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add dockerfile
parent
13c85103
Pipeline
#681
failed with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
1 deletion
+28
-1
vcs.xml
.idea/vcs.xml
+6
-0
Dockerfile
Dockerfile
+22
-0
lastupdate.tmp
lastupdate.tmp
+0
-1
No files found.
.idea/vcs.xml
0 → 100644
View file @
e0008b70
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"VcsDirectoryMappings"
>
<mapping
directory=
"$PROJECT_DIR$"
vcs=
"Git"
/>
</component>
</project>
\ No newline at end of file
Dockerfile
0 → 100644
View file @
e0008b70
FROM
golang:1.20-alpine AS build
# Install dependencies
RUN
apk update
&&
\
apk upgrade
&&
\
apk add
--no-cache
bash git openssh make build-base
RUN
go
env
-w
CGO_ENABLED
=
"1"
WORKDIR
/build
RUN
git clone https://code.wuban.net.cn/odysseus/admin-backend
RUN
cd
/build/admin-backend
&&
go build
-o
/admin-backend
FROM
alpine
WORKDIR
/root
COPY
--from=build /admin-backend /usr/bin/admin-backend
ENTRYPOINT
[ "admin-backend" ]
\ No newline at end of file
lastupdate.tmp
deleted
100755 → 0
View file @
13c85103
{"/Users/brent/Documents/wubanWork/ai_developer_admin/controllers":1706860693667738264}
\ No newline at end of file
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