File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # ## Generated by Python package dist-packages
2-
1+ # ## Generated by Python package site-packages
32
3+ # excluding .git by default
4+ .git
45
56# ## from: .gitignore
67# Byte-compiled / optimized / DLL files
172173. /** /* .bin
173174. /** /* .pth
174175. /** /* .pt
176+ . /** /* .pkl
175177
176178. /** /results /
177- . /** /results /*
179+
180+ . /** /* .sonar
178181
179182
180183# ## from: benchmark/.gitignore
@@ -185,6 +188,11 @@ benchmark/**/*.json
185188experiments /** /* .bin
186189
187190
191+ # ## from: experiments/toy1d_experiment1_configuration_test/.gitignore
192+ experiments /toy1d_experiment1_configuration_test /** /. *
193+ experiments /toy1d_experiment1_configuration_test /** /* \. *
194+
195+
188196# ## from: dev/.gitignore
189197dev /** /* .bin
190198dev /** /* .parquet
@@ -196,10 +204,7 @@ dev/**/*.pt
196204dev /** /* .npz
197205dev /** /* .memmap
198206dev /** /* .txt
207+ dev /** /* .dot
208+ dev /** /* .svg
199209
200210
201- . /** /* .png
202- . /** /* .ipynb
203-
204- # setuptools-scm need some .git data, we can't ignore all
205- .git /*
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- pip install generate-dockerignore-from-gitignore
3+ pip install generate-dockerignore-from-gitignore setuptools_scm
44
55generate-dockerignore
66
7- VERSION=$( git describe --tags --dirty --always)
7+ VERSION=$( python3 -m setuptools_scm)
8+ DOCKER_TAG=$( echo " $VERSION " | sed ' s/[^a-zA-Z0-9._-]/-/g' )
89
9- docker build --build-arg " VERSION=${VERSION} " -t " eltoncn/world-machine:${VERSION } " .
10+ docker build --build-arg " VERSION=${VERSION} " -t " eltoncn/world-machine:${DOCKER_TAG } " .
You can’t perform that action at this time.
0 commit comments