Skip to content

Commit

Permalink
Update python version, outdated content, and mispellings
Browse files Browse the repository at this point in the history
  • Loading branch information
camposeddie committed Jan 31, 2024
1 parent 0f3a921 commit dec3bc7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM python:3.7
LABEL maintainer="[email protected]" \
author="Abdelhak Marouane"
FROM python:3.10

# Never prompts the user for choices on installation/configuration of packages
ENV DEBIAN_FRONTEND noninteractive
ENV TERM linux
Expand All @@ -27,7 +26,7 @@ WORKDIR $HOME/workstation



# Adding dummy build.sh that needs to be overreten
# Adding dummy build.sh that needs to be overwritten
COPY entrypoint.sh $HOME/entrypoint.sh
ENTRYPOINT [ "/bin/bash", "/home/bamboo/entrypoint.sh"]
#CMD [ "/bin/bash", "/home/bamboo/entrypoint.sh"]
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# GHRC-TF-CICD

A docker image to build and deploy [GHRC](https://gitlab.com/ghrc-cloud/ghrc-tf-deploy) repo to Bamboo-CI.
A docker image to build and deploy [GHRC](https://github.com/ghrcdaac/ghrc-tf-deploy) repo to Bamboo-CI.

## How to Use
`cd to your cloned repo`
You should define a build.sh in your repo. build.sh contains the logic of your build+deployment <br>

`docer run --rm -v $PWD:/home/bamboo/workstation amarouane/ghrc-tf-cicd`
#### If you want to pass a cutom build your repo run
`docer run --rm -v $PWD:/home/bamboo/workstation amarouane/ghrc-tf-cicd -e custom.sh`
### Custome script should be in the root directory of your cloned repo
`docker run --rm -v $PWD:/home/bamboo/workstation ghrcdaac/ghrc-tf-cicd`
#### If you want to pass a custom build your repo run
`docker run --rm -v $PWD:/home/bamboo/workstation ghrcdaac/ghrc-tf-cicd -e custom.sh`
### Custom script should be in the root directory of your cloned repo


0 comments on commit dec3bc7

Please sign in to comment.