-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Dockerfile and 'make docker' target to create a Docker image. fix #…
- Loading branch information
1 parent
f7306fc
commit 614d6a9
Showing
4 changed files
with
51 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# syntax=docker/dockerfile:1 | ||
ARG FROM | ||
FROM ${FROM} | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL vendor="Y Software AB" | ||
LABEL url="https://github.com/for-get/jesse" | ||
LABEL vcs-url="https://github.com/for-get/jesse" | ||
ARG LABEL_VCS_REF="0" | ||
LABEL vcs-ref=${LABEL_VCS_REF} | ||
ARG LABEL_BUILD_DATE="1970-01-01T00:00:00Z" | ||
LABEL build-date=${LABEL_BUILD_DATE} | ||
|
||
|
||
|
||
COPY . /jesse | ||
RUN cd /jesse && ./Dockerfile.build.sh | ||
RUN cd /jesse && make | ||
|
||
CMD /bin/jesse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
apt-get update | ||
apt-get -y install tcl tcl-dev gettext | ||
cd /usr/src/ | ||
wget https://github.com/git/git/archive/v2.18.0.tar.gz -O git.tar.gz | ||
tar -xf git.tar.gz | ||
( | ||
cd git-* | ||
make prefix=/usr/local all | ||
make prefix=/usr/local install | ||
) | ||
rm git.tar.gz | ||
rm -r git-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters