-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from Asone/feature/hatvp-api
Feature/hatvp api
- Loading branch information
Showing
3 changed files
with
40 additions
and
0 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,27 @@ | ||
FROM rustlang/rust:nightly | ||
|
||
LABEL AUTHOR="Nelson Herbin <[email protected]>" | ||
LABEL NAME=tricoteuses-api-hatvp | ||
LABEL VERSION=1 | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y unzip libxml2-utils | ||
|
||
ENV JQ_VERSION='1.5' | ||
|
||
RUN wget --no-check-certificate https://raw.githubusercontent.com/stedolan/jq/master/sig/jq-release.key -O /tmp/jq-release.key && \ | ||
wget --no-check-certificate https://raw.githubusercontent.com/stedolan/jq/master/sig/v${JQ_VERSION}/jq-linux64.asc -O /tmp/jq-linux64.asc && \ | ||
wget --no-check-certificate https://github.com/stedolan/jq/releases/download/jq-${JQ_VERSION}/jq-linux64 -O /tmp/jq-linux64 && \ | ||
gpg --import /tmp/jq-release.key && \ | ||
gpg --verify /tmp/jq-linux64.asc /tmp/jq-linux64 && \ | ||
cp /tmp/jq-linux64 /usr/bin/jq && \ | ||
chmod +x /usr/bin/jq && \ | ||
rm -f /tmp/jq-release.key && \ | ||
rm -f /tmp/jq-linux64.asc && \ | ||
rm -f /tmp/jq-linux64 | ||
|
||
RUN git clone https://framagit.org/tricoteuses/tricoteuses-api-hatvp.git | ||
|
||
WORKDIR tricoteuses-api-hatvp | ||
|
||
EXPOSE 8002 |
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