Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
haoqu.ma
/
gotty
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1680db09
authored
Feb 28, 2020
by
Stephan van Ellewee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Makefile mods, Dockerfile for demo
1 parent
ded7f094
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
Dockerfile
Makefile
Dockerfile
0 → 100644
View file @
1680db0
FROM
golang:1.13.1
WORKDIR
/gotty
COPY . /gotty
RUN
CGO_ENABLED
=
0 make
FROM
alpine:latest
RUN
apk update
&&
\
apk upgrade
&&
\
apk --no-cache add ca-certificates
&&
\
apk add bash
WORKDIR
/root
COPY --from=0 /gotty/gotty /usr/bin/
CMD
["gotty", "-w", "bash"]
Makefile
View file @
1680db0
...
@@ -78,3 +78,5 @@ shasums:
...
@@ -78,3 +78,5 @@ shasums:
release
:
release
:
ghr -c
${
GIT_COMMIT
}
--delete --prerelease -u yudai -r gotty pre-release
${
OUTPUT_DIR
}
/dist
ghr -c
${
GIT_COMMIT
}
--delete --prerelease -u yudai -r gotty pre-release
${
OUTPUT_DIR
}
/dist
clean
:
rm -fr gotty
Write
Preview
Markdown
is supported
Attach a file
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 post a comment