Spaces:
Build error
Build error
jordancaraballo
commited on
Commit
·
b87fa5f
1
Parent(s):
ccdc79a
Adding wildfire-occurrene container
Browse files
.github/workflows/dockerhub-wrf.yml
CHANGED
@@ -79,3 +79,41 @@ jobs:
|
|
79 |
file: ./requirements/Dockerfile.WRF
|
80 |
push: true
|
81 |
tags: nasanccs/wrf:latest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
file: ./requirements/Dockerfile.WRF
|
80 |
push: true
|
81 |
tags: nasanccs/wrf:latest
|
82 |
+
|
83 |
+
|
84 |
+
docker_python:
|
85 |
+
runs-on: ubuntu-latest
|
86 |
+
steps:
|
87 |
+
|
88 |
+
-
|
89 |
+
name: Checkout
|
90 |
+
uses: actions/checkout@v3
|
91 |
+
-
|
92 |
+
name: Set up QEMU
|
93 |
+
uses: docker/setup-qemu-action@v2
|
94 |
+
-
|
95 |
+
name: Set up Docker Buildx
|
96 |
+
uses: docker/setup-buildx-action@v2
|
97 |
+
-
|
98 |
+
name: Login to Docker Hub
|
99 |
+
uses: docker/login-action@v2
|
100 |
+
with:
|
101 |
+
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
102 |
+
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
103 |
+
|
104 |
+
-
|
105 |
+
name: Lower github-runner storage
|
106 |
+
run: |
|
107 |
+
sudo rm -rf /usr/share/dotnet
|
108 |
+
sudo rm -rf /opt/ghc
|
109 |
+
sudo rm -rf "/usr/local/share/boost"
|
110 |
+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
|
111 |
+
|
112 |
+
-
|
113 |
+
name: Build and push
|
114 |
+
uses: docker/build-push-action@v4
|
115 |
+
with:
|
116 |
+
context: .
|
117 |
+
file: ./requirements/Dockerfile.Python
|
118 |
+
push: true
|
119 |
+
tags: nasanccs/wildfire-occurrence:latest
|
requirements/Dockerfile.Python
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM nasanccs/tensorflow-caney:latest
|
2 |
+
LABEL maintainer="[email protected]"
|
3 |
+
|
4 |
+
ENV TFC_VERSION=0.1.1
|
5 |
+
ENV VHR_CNN_CHM_VERSION=main
|
6 |
+
|
7 |
+
RUN pip install wrf-python xwrf
|
8 |
+
|
9 |
+
HEALTHCHECK NONE
|
10 |
+
ENTRYPOINT [""]
|