Created
July 15, 2019 07:46
-
-
Save v1-wizard/c65205784412967b6be0f6aa12484d7d to your computer and use it in GitHub Desktop.
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
FROM python:3-alpine3.8 | |
LABEL maintainer="[email protected]" | |
RUN apk add make git openssh build-base netcat-openbsd openjdk8-jre tar wget | |
RUN wget -c https://dl.bintray.com/qameta/generic/io/qameta/allure/allure/2.7.0/allure-2.7.0.tgz -O - | \ | |
tar -xz && chmod +x /allure-2.7.0/bin/allure | |
ENV PATH "$PATH:/allure-2.7.0/bin" |
Нам просто иногда надо копились С сорсы в этом контейнере, перед этим их склонив. Вот и сделали все в одном. А netcat нам нужен, чтобы через tcp с приблудными электронными разговаривать. А все в одну строчку, чтобы был один слой, а не несколько.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://gist.github.com/v1-wizard/c65205784412967b6be0f6aa12484d7d#file-gistfile1-txt-L5
Что так сложно то? )