Skip to content

Commit fc49499

Browse files
author
Mark Beacom
authored
Merge pull request #3 from mbeacom/update-deps
Update pip dependencies
2 parents 89207c9 + 8b905b4 commit fc49499

File tree

5 files changed

+122
-82
lines changed

5 files changed

+122
-82
lines changed

Dockerfile-py38

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ RUN apt-get -qq update && \
99
RUN pip install --upgrade pip && \
1010
pip install --upgrade wheel setuptools twine pipenv && \
1111
pipenv install --dev --system --deploy
12+
13+
RUN apt-get clean autoclean && \
14+
apt-get autoremove --yes && \
15+
rm -rf /var/lib/{apt,dpkg,cache,log}/

Makefile

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,34 @@
33

44
.PHONY: help
55

6-
REPO_NAME := mbeacom/cloudendure-py
6+
REPO_NAME := mbeacom/cloudendure-python
77
SHA1 := $$(git log -1 --pretty=%h)
88
CURRENT_BRANCH := $$(git symbolic-ref -q --short HEAD)
99

1010
info: ## Show information about the current git state.
1111
@echo "Github Project: https://github.com/${REPO_NAME}\nCurrent Branch: ${CURRENT_BRANCH}\nSHA1: ${SHA1}\n"
1212

13+
build: ## Build the Gitcoin Web image.
14+
@docker build \
15+
--stream \
16+
--pull \
17+
--build-arg BUILD_DATETIME=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
18+
--build-arg "SHA1=${SHA1}" \
19+
${VERSION:+--build-arg "VERSION=$VERSION"} \
20+
-t "${GIT_TAG}" .
21+
@docker tag "${GIT_TAG}" "${LATEST_TAG}"
22+
23+
login: ## Login to Docker Hub.
24+
@docker log -u "${DOCKER_USER}" -p "${DOCKER_PASS}"
25+
26+
push: ## Push the Docker image to the Docker Hub repository.
27+
@docker push "${REPO_NAME}"
28+
29+
docker: ## Build and publish Docker images.
30+
@docker build -t cloudendure .
31+
@docker tag cloudendure mbeacom/cloudendure-python
32+
@docker push
33+
1334
update_prereqs: ## Update the local development pre-requisite packages.
1435
@pip install --upgrade pipenv wheel setuptools pip
1536

Pipfile.lock

Lines changed: 94 additions & 79 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Python wrapper and CLI for CloudEndure
66

77
[Documentation](https://mbeacom.github.io/cloudendure-python/)
88

9-
Package version: `0.0.2`
9+
Package version: `0.0.3`
1010

1111
## Requirements
1212

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
EMAIL: str = "[email protected]"
2424
AUTHOR: str = "Mark Beacom"
2525
REQUIRES_PYTHON: str = ">=3.6.0"
26-
VERSION: str = "0.0.2"
26+
VERSION: str = "0.0.3"
2727

2828
REQUIRED: List[str] = ["requests", "boto3"]
2929
EXTRAS: Dict[str, List[str]] = {

0 commit comments

Comments
 (0)