droxul 1.0.14 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.coaia/jgwill-droxul.jsonl +6 -0
- package/CHANGELOG.md +224 -221
- package/Dockerfile +11 -11
- package/Dockerfile.pi +12 -12
- package/LICENSE +674 -674
- package/README.md +345 -345
- package/cross-mastery/dropbox-api-get-from-url.js +61 -61
- package/dropbox_uploader.sh +11 -11
- package/help.txt +31 -31
- package/package.json +40 -40
- package/testUnit.sh +0 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{"type":"entity","name":"chart_1781360676753_chart","entityType":"structural_tension_chart","observations":["Chart created for jgwill/droxul on 2026-06-13T14:24:36.753Z"],"metadata":{"chartId":"chart_1781360676753","repository":"jgwill/droxul","level":0,"createdAt":"2026-06-13T14:24:36.753Z","updatedAt":"2026-06-13T14:24:36.753Z"}}
|
|
2
|
+
{"type":"entity","name":"chart_1781360676753_desired_outcome","entityType":"desired_outcome","observations":["Successful development and collaboration on jgwill/droxul"],"metadata":{"chartId":"chart_1781360676753","createdAt":"2026-06-13T14:24:36.753Z","updatedAt":"2026-06-13T14:24:36.753Z"}}
|
|
3
|
+
{"type":"entity","name":"chart_1781360676753_current_reality","entityType":"current_reality","observations":["Repository initialized with STC bot integration","[2026-06-13T14:24:36.825Z] @stcissue triggered: Issue #1 - list/info/space return empty: Dropbox API now emits compact JSON (no space after colon) (issues.opened)"],"metadata":{"chartId":"chart_1781360676753","createdAt":"2026-06-13T14:24:36.753Z","updatedAt":"2026-06-13T14:24:36.825Z"}}
|
|
4
|
+
{"type":"relation","from":"chart_1781360676753_chart","to":"chart_1781360676753_desired_outcome","relationType":"contains","metadata":{"createdAt":"2026-06-13T14:24:36.753Z"}}
|
|
5
|
+
{"type":"relation","from":"chart_1781360676753_chart","to":"chart_1781360676753_current_reality","relationType":"contains","metadata":{"createdAt":"2026-06-13T14:24:36.753Z"}}
|
|
6
|
+
{"type":"relation","from":"chart_1781360676753_current_reality","to":"chart_1781360676753_desired_outcome","relationType":"creates_tension_with","metadata":{"createdAt":"2026-06-13T14:24:36.753Z"}}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,221 +1,224 @@
|
|
|
1
|
-
# CHANGELOG
|
|
2
|
-
|
|
3
|
-
## Version 1.0 -
|
|
4
|
-
*
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* Add
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* Add
|
|
13
|
-
* Fix issue #
|
|
14
|
-
*
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
*
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
*
|
|
21
|
-
* Fixed
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
*
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
* Fix issue #
|
|
30
|
-
* Fix issue #
|
|
31
|
-
*
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
*
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
* Fix issue #
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
*
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
*
|
|
44
|
-
* Fix
|
|
45
|
-
* Fix issue #
|
|
46
|
-
*
|
|
47
|
-
* Fix
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
* Fix issue
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
* Fixed
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
*
|
|
60
|
-
* Fixed
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
* Fixed
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
* Add
|
|
72
|
-
* Add
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
*
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
*
|
|
81
|
-
* Add
|
|
82
|
-
* Improved messages
|
|
83
|
-
*
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
* Add
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
* Add
|
|
90
|
-
*
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
*
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
*
|
|
98
|
-
|
|
99
|
-
## Version 0.11.
|
|
100
|
-
*
|
|
101
|
-
|
|
102
|
-
## Version 0.11.
|
|
103
|
-
*
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
*
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
*
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
*
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
*
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
*
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
*
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
* Added the
|
|
140
|
-
* Added
|
|
141
|
-
* Fixed
|
|
142
|
-
*
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
*
|
|
146
|
-
|
|
147
|
-
## Version 0.9.
|
|
148
|
-
*
|
|
149
|
-
|
|
150
|
-
## Version 0.9.
|
|
151
|
-
*
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
*
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
*
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
*
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
*
|
|
174
|
-
|
|
175
|
-
## Version 0.9.
|
|
176
|
-
*
|
|
177
|
-
|
|
178
|
-
## Version 0.9 - 27 Feb 2012:
|
|
179
|
-
*
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
*
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
*
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
## Version 0.7 - 10 Mar 2011:
|
|
198
|
-
*
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
*
|
|
203
|
-
|
|
204
|
-
## Version 0.
|
|
205
|
-
*
|
|
206
|
-
|
|
207
|
-
## Version 0.
|
|
208
|
-
*
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
*
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
*
|
|
215
|
-
|
|
216
|
-
## Version 0.
|
|
217
|
-
*
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
*
|
|
1
|
+
# CHANGELOG
|
|
2
|
+
|
|
3
|
+
## Version 1.0.15 - 13 Jun 2026
|
|
4
|
+
* Fix jgwill/droxul#1: `list`/`info`/`space`/`share`/`sha` returned empty because Dropbox now emits compact JSON (`"entries":[{`) instead of pretty-spaced JSON (`"entries": [{`). All response parsers are now whitespace-tolerant (`: ` -> `: *`), backward-compatible with the old spaced format. Not a token/auth change — the legacy `OAUTH_ACCESS_TOKEN` still works.
|
|
5
|
+
|
|
6
|
+
## Version 1.0 - 10 Aug 2016
|
|
7
|
+
* Add search option
|
|
8
|
+
* Increase chunk size to 50MB for better performance
|
|
9
|
+
* Add testUnit script
|
|
10
|
+
* Upgrade to API v2
|
|
11
|
+
* Fix #278: Documentation issue for command line
|
|
12
|
+
* Add -h option to show human readable file sizes
|
|
13
|
+
* Fix issue #240: the connection is retried in case of error for chunked uploads
|
|
14
|
+
* The file name encoding problems including the issue #139 should be fixed now
|
|
15
|
+
* Add system info to debug output
|
|
16
|
+
* Fix issue #230: Version String isn't updated in dropbox_uploader
|
|
17
|
+
* Fixed issue #227
|
|
18
|
+
|
|
19
|
+
## Version 0.16 - 31 Jul 2015
|
|
20
|
+
* Add saveurl command to download remote files directly into a dropbox folder
|
|
21
|
+
* Fixed issue #174: $DU needs quoting in dropShell
|
|
22
|
+
* The share command will now return by default the short url
|
|
23
|
+
* Improved portability of the file_size function
|
|
24
|
+
* Fixed minor bash compatibility issue in the urlencode function
|
|
25
|
+
* Improved normalize_path function and minor fix
|
|
26
|
+
* Removed deprecated db_free_quota function
|
|
27
|
+
|
|
28
|
+
## Version 0.15 - 08 Jun 2015
|
|
29
|
+
* Fix issue #163, List only show folders but not files
|
|
30
|
+
* Fix issue #168, Share call not returning a share link
|
|
31
|
+
* Fix issue #172, list command always return an unnamed dir on an empty directory
|
|
32
|
+
* Fix issue #165, Issue with uploading a file to a folder
|
|
33
|
+
* Fix issue #162, Uploading a folder to a folder that already exists on dropbox has unexpected behaviour
|
|
34
|
+
* Updated setup procedure
|
|
35
|
+
|
|
36
|
+
## Version 0.14 - 15 Jul 2014
|
|
37
|
+
* Fix issue #112, replaced bash condition -f with -e
|
|
38
|
+
* Fix issue #117, sed: 1: invalid command code z
|
|
39
|
+
* Fix issue #122, Directory upload doesn't work
|
|
40
|
+
* Fix issue #132, enhanced cross compatibility for bash conditions
|
|
41
|
+
|
|
42
|
+
## Version 0.13 - 17 Jan 2014
|
|
43
|
+
* Minor languages fixes, based on issue #88
|
|
44
|
+
* Fix issue #91, sed take long time to process regexp on big data
|
|
45
|
+
* Fix issue #87, second chunked upload fails after successful first
|
|
46
|
+
* Fix issue #97, greadlink not selected on OSX Mavericks
|
|
47
|
+
* Fix issues #99 and #100: The stat command in OSX 10.9 has no parameter named --format
|
|
48
|
+
* Fix issue #99, clarified how to install greadlink (via homebrew) for Mac OS X. Thanks to paultreny
|
|
49
|
+
* Improved list command and minor changes
|
|
50
|
+
* Fix issue #103, transform Unicode code-points to characters in list command
|
|
51
|
+
* Add VERSION output in DEBUG mode
|
|
52
|
+
* DropShell: Fixed issue with quoted command parameters
|
|
53
|
+
* Fix issue with absolute paths in CD command
|
|
54
|
+
* Enhancement request #108: add initial wildcard support in upload command
|
|
55
|
+
* Now the destination file/dir for the upload command is mandatory
|
|
56
|
+
* Fixed issue listing files/folders names containing quotes
|
|
57
|
+
|
|
58
|
+
## Version 0.12.1 - 24 Oct 2013
|
|
59
|
+
* Fixed unicode problem with special chars in file names
|
|
60
|
+
* Fixed problem removing temp files
|
|
61
|
+
* Improved detection of configuration error and better handling of http errors
|
|
62
|
+
* Updated setup procedure
|
|
63
|
+
* Fixed incompatibility with old bash version
|
|
64
|
+
|
|
65
|
+
## Version 0.12 - 06 Sep 2013
|
|
66
|
+
* Fixed problem uploading twice the same directory
|
|
67
|
+
* Add checking for not allowed file names
|
|
68
|
+
* Handling connection/resolving host errors
|
|
69
|
+
* Better error handling
|
|
70
|
+
* Converted if condition to BASH native syntax
|
|
71
|
+
* Add normalize_path function, to canonicalize paths
|
|
72
|
+
* Add -s option to skip existing files when upload/download
|
|
73
|
+
* Removed check for free quota on every file upload to improve performance
|
|
74
|
+
* Add checks for file permissions before writing/reading files on the local fs
|
|
75
|
+
* Add copy function
|
|
76
|
+
* Fixed unicode problem in file listing
|
|
77
|
+
* A lot of minor changes and improvements
|
|
78
|
+
|
|
79
|
+
## Version 0.11.9 - 27 Jun 2013
|
|
80
|
+
* Add missing -f option in usage
|
|
81
|
+
* Add some /dev/null redirects
|
|
82
|
+
* Improved error messages
|
|
83
|
+
* Improved grep syntax
|
|
84
|
+
* Add function to check the cURL exit code
|
|
85
|
+
* Improved messages output
|
|
86
|
+
* Add new command line options: -q -d -k
|
|
87
|
+
|
|
88
|
+
## Version 0.11.8 - 05 Jun 2013
|
|
89
|
+
* Add move/rename function
|
|
90
|
+
* Improved the configuration file management (thanks to Robert G.)
|
|
91
|
+
* Updated strings to reflect the new Dropbox "Create App" page
|
|
92
|
+
* Add support for download directories
|
|
93
|
+
* Add support for upload directories
|
|
94
|
+
|
|
95
|
+
## Version 0.11.7 - 23 Apr 2013
|
|
96
|
+
* Fixed issue with special chars
|
|
97
|
+
* Fix for iOS
|
|
98
|
+
|
|
99
|
+
## Version 0.11.6 - 15 Mar 2013
|
|
100
|
+
* Add optional command-line parameter ('-f') to read dropbox configuration from a specific file (thanks to pjv)
|
|
101
|
+
|
|
102
|
+
## Version 0.11.5 - 22 Gen 2013
|
|
103
|
+
* Added the ability to get a share link for a specified file (thanks to camspiers)
|
|
104
|
+
|
|
105
|
+
## Version 0.11.4 - 17 Gen 2013
|
|
106
|
+
* Fix for QNAP compatibility (thanks to Fritz Ferstl)
|
|
107
|
+
* Implemented mkdir command (thanks to Joel Maslak)
|
|
108
|
+
* Fix for Solaris compatibility
|
|
109
|
+
|
|
110
|
+
## Version 0.11.3 - 22 Dec 2012:
|
|
111
|
+
* Improved list command (thanks to Robert González)
|
|
112
|
+
* Fixed problem with unicode characters
|
|
113
|
+
|
|
114
|
+
## Version 0.11.2 - 14 Nov 2012:
|
|
115
|
+
* Added a check for the free quota before uploading a file
|
|
116
|
+
* Now the quota informations are displayed in Mb
|
|
117
|
+
* Removed urlencode function for incompatibility with older curl versions
|
|
118
|
+
* Fixed problem uploading files that contains @ character
|
|
119
|
+
* Minor changes
|
|
120
|
+
|
|
121
|
+
## Version 0.11.1 - 12 Nov 2012:
|
|
122
|
+
* As suggested by the DropBox API documentation, the default chunk for chunked uploads is now 4Mb
|
|
123
|
+
* Minor changes
|
|
124
|
+
|
|
125
|
+
## Version 0.11 - 11 Nov 2012:
|
|
126
|
+
* Parameterized the curl binary location
|
|
127
|
+
* Fix for MacOSX 10.8 (thanks to Ben - www.aquiltforever.com)
|
|
128
|
+
|
|
129
|
+
## Version 0.10 - 03 Nov 2012:
|
|
130
|
+
* Code clean
|
|
131
|
+
* Improved urlencode function (thanks to Stefan Trauth * www.stefantrauth.de)
|
|
132
|
+
* Added command remove as alias of delete
|
|
133
|
+
* Fix for Raspberry PI
|
|
134
|
+
* Now if an error occurs during a chunk uploading, the upload is retried for a maximum of three times
|
|
135
|
+
* Minor changes
|
|
136
|
+
* Tested on Cygwin and MacOSX
|
|
137
|
+
|
|
138
|
+
## Version 0.9.9 - 24 Oct 2012:
|
|
139
|
+
* Added the possibility to choose the access level (App folder o Full Dropbox) during the setup procedure
|
|
140
|
+
* Added a check for the BASH shell version
|
|
141
|
+
* Fixed problems in listing files/directories with special characters
|
|
142
|
+
* Added the option CURL_ACCEPT_CERTIFICATES (see the script source)
|
|
143
|
+
* Added back the standard upload function. Now only if the file is greater than 150Mb, the chunked_upload API will be used.
|
|
144
|
+
* Fixed compatibility with bsd sed. Tested on FreeBSD, but probably it works on others bsd versions and osx. Let me know!
|
|
145
|
+
* Minor changes
|
|
146
|
+
|
|
147
|
+
## Version 0.9.8 - 03 Oct 2012:
|
|
148
|
+
* Implemented chunked upload. Now there is no limit to file size!
|
|
149
|
+
|
|
150
|
+
## Version 0.9.7 - 14 Sep 2012:
|
|
151
|
+
* Fixed bug in listing empty directories
|
|
152
|
+
|
|
153
|
+
## Version 0.9.6 - 12 Sep 2012:
|
|
154
|
+
* Implemented list command
|
|
155
|
+
* Minor changes
|
|
156
|
+
|
|
157
|
+
## Version 0.9.5 - 18 Jul 2012:
|
|
158
|
+
* Added a check for the maximum file size allowed by the DropBox API
|
|
159
|
+
* Minor changes
|
|
160
|
+
|
|
161
|
+
## Version 0.9.4 - 19 Mar 2012:
|
|
162
|
+
* Implemented delete command
|
|
163
|
+
* Minor changes
|
|
164
|
+
|
|
165
|
+
## Version 0.9.3 - 01 Mar 2012:
|
|
166
|
+
* Implemented download command
|
|
167
|
+
* Improved info output
|
|
168
|
+
* Fixed utime function
|
|
169
|
+
* Added dependency check for basename
|
|
170
|
+
* The script always returns 1 when errors occurs
|
|
171
|
+
* Improved error handling
|
|
172
|
+
* Fixed problem with spaces in config file name
|
|
173
|
+
* Minor bug fixes
|
|
174
|
+
|
|
175
|
+
## Version 0.9.2 - 28 Feb 2012:
|
|
176
|
+
* Increased security, now any user can create his own Dropbox App
|
|
177
|
+
|
|
178
|
+
## Version 0.9.1 - 27 Feb 2012:
|
|
179
|
+
* Fixed problem with spaces in dst file name
|
|
180
|
+
|
|
181
|
+
## Version 0.9 - 27 Feb 2012:
|
|
182
|
+
* Code rewritten from scratch (CLI changed)
|
|
183
|
+
* Improved security and stability using official dropbox API, no more username/password needed!
|
|
184
|
+
|
|
185
|
+
## Version 0.8.2 - 07 Sep 2011:
|
|
186
|
+
* Removed INTERACTIVE_MODE variable (now the progress bar is shown in VERBOSE mode)
|
|
187
|
+
* Improved command line interface and error messages
|
|
188
|
+
* Minor bug fixes
|
|
189
|
+
|
|
190
|
+
## Version 0.8.1 - 31 Aug 2011 (by Dawid Ferenczy - www.ferenczy.cz)
|
|
191
|
+
* added prompt for the Dropbox password from keyboard, if there is no password
|
|
192
|
+
hardcoded or given as script command line parameter (interactive mode)
|
|
193
|
+
* added INTERACTIVE_MODE variable - when set to 1 show CURL progress bar.
|
|
194
|
+
Set to 1 automatically when there is no password hardcoded or given as
|
|
195
|
+
parameter. Controls verbosity of CURL.
|
|
196
|
+
|
|
197
|
+
## Version 0.7.1 - 10 Mar 2011:
|
|
198
|
+
* Minor bug fixes
|
|
199
|
+
|
|
200
|
+
## Version 0.7 - 10 Mar 2011:
|
|
201
|
+
* New command line interface
|
|
202
|
+
* Code clean
|
|
203
|
+
|
|
204
|
+
## Version 0.6 - 11 Gen 2011:
|
|
205
|
+
* Fixed issue with spaces in file/forder name
|
|
206
|
+
|
|
207
|
+
## Version 0.5 - 04 Gen 2011:
|
|
208
|
+
* Recursive directory upload
|
|
209
|
+
|
|
210
|
+
## Version 0.4 - 29 Dec 2010:
|
|
211
|
+
* Now works on BSD and MAC
|
|
212
|
+
* Interactive prompt for username and password
|
|
213
|
+
* Speeded up the uploading process
|
|
214
|
+
* Debug mode
|
|
215
|
+
|
|
216
|
+
## Version 0.3 - 18 Nov 2010:
|
|
217
|
+
* Regex updated
|
|
218
|
+
|
|
219
|
+
## Version 0.2 - 04 Sep 2010:
|
|
220
|
+
* Removed dependencies from tempfile
|
|
221
|
+
* Code clean
|
|
222
|
+
|
|
223
|
+
## Version 0.1 - 23 Aug 2010:
|
|
224
|
+
* Initial release
|
package/Dockerfile
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
FROM alpine:3.5
|
|
2
|
-
MAINTAINER peez@stiffi.de
|
|
3
|
-
|
|
4
|
-
RUN apk add --no-cache bash curl
|
|
5
|
-
COPY / /opt/dropbox_uploader
|
|
6
|
-
RUN mkdir -p /config && mkdir -p /workdir
|
|
7
|
-
|
|
8
|
-
VOLUME /config /workdir
|
|
9
|
-
|
|
10
|
-
WORKDIR /workdir
|
|
11
|
-
|
|
1
|
+
FROM alpine:3.5
|
|
2
|
+
MAINTAINER peez@stiffi.de
|
|
3
|
+
|
|
4
|
+
RUN apk add --no-cache bash curl
|
|
5
|
+
COPY / /opt/dropbox_uploader
|
|
6
|
+
RUN mkdir -p /config && mkdir -p /workdir
|
|
7
|
+
|
|
8
|
+
VOLUME /config /workdir
|
|
9
|
+
|
|
10
|
+
WORKDIR /workdir
|
|
11
|
+
|
|
12
12
|
ENTRYPOINT ["/opt/dropbox_uploader/dropbox_uploader.sh", "-f", "/config/dropbox_uploader.conf"]
|
package/Dockerfile.pi
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
FROM hypriot/rpi-alpine-scratch
|
|
2
|
-
MAINTAINER github@vanefferenonline.nl
|
|
3
|
-
|
|
4
|
-
RUN apk update && apk add bash curl
|
|
5
|
-
COPY *.sh /opt/dropbox_uploader/
|
|
6
|
-
RUN mkdir -p /config && mkdir -p /workdir
|
|
7
|
-
|
|
8
|
-
VOLUME /config /workdir
|
|
9
|
-
|
|
10
|
-
WORKDIR /workdir
|
|
11
|
-
|
|
12
|
-
ENTRYPOINT ["/opt/dropbox_uploader/dropbox_uploader.sh", "-f", "/config/dropbox_uploader.conf"]
|
|
1
|
+
FROM hypriot/rpi-alpine-scratch
|
|
2
|
+
MAINTAINER github@vanefferenonline.nl
|
|
3
|
+
|
|
4
|
+
RUN apk update && apk add bash curl
|
|
5
|
+
COPY *.sh /opt/dropbox_uploader/
|
|
6
|
+
RUN mkdir -p /config && mkdir -p /workdir
|
|
7
|
+
|
|
8
|
+
VOLUME /config /workdir
|
|
9
|
+
|
|
10
|
+
WORKDIR /workdir
|
|
11
|
+
|
|
12
|
+
ENTRYPOINT ["/opt/dropbox_uploader/dropbox_uploader.sh", "-f", "/config/dropbox_uploader.conf"]
|