mirror of
https://github.com/portainer/portainer.git
synced 2025-08-08 15:25:22 +02:00
feat(image): upload local files for building image EE-3021 (#7507)
* support to make multiple files in archive buffer * upload files by multipart
This commit is contained in:
parent
a7d458f0bd
commit
d570aee554
6 changed files with 171 additions and 14 deletions
|
@ -132,6 +132,20 @@
|
|||
></code-editor>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-12 form-section-title"> Upload </div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-12">
|
||||
<div class="form-group">
|
||||
<span class="col-sm-12 text-muted small">
|
||||
You can upload files from your local computer for referencing in your Dockerfile (using ADD filename) so they are included in your built image.
|
||||
</span>
|
||||
</div>
|
||||
<button class="btn btn-sm btn-primary" ngf-select="selectAdditionalFiles($files)" ngf-multiple="true">Select files</button>
|
||||
<span ng-repeat="item in formValues.AdditionalFiles track by $index" class="mx-2">
|
||||
{{ item.name }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- !web-editor -->
|
||||
<!-- upload -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue