Damien Léger
fb63df35b5
improvement(docker): smaller image ( #7470 )
2022-04-01 10:13:28 -07:00
Matthias Blümel
2879773f3f
improvement(docker): migrate run.sh to docker-entrypoint.d-script ( #7915 ) ( #7916 )
...
Co-authored-by: Tim Lai <timothy.lai@gmail.com >
2022-03-21 15:25:56 -07:00
dependabot[bot]
23c3eadb28
chore(deps): bump nginx from 1.21.5-alpine to 1.21.6-alpine ( #7812 )
2022-01-31 11:17:35 +00:00
dependabot[bot]
7cecd1e2eb
chore(deps): bump nginx from 1.21.4-alpine to 1.21.5-alpine ( #7731 )
2022-01-03 11:19:05 +00:00
dependabot[bot]
0e5bc25466
chore(deps): bump nginx from 1.21.3-alpine to 1.21.4-alpine
...
Bumps nginx from 1.21.3-alpine to 1.21.4-alpine.
---
updated-dependencies:
- dependency-name: nginx
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-11-15 17:10:45 +01:00
dependabot[bot]
0a53e08ac5
chore(deps): bump nginx from 1.21-alpine to 1.21.3-alpine ( #7585 )
...
Bumps nginx from 1.21-alpine to 1.21.3-alpine.
---
updated-dependencies:
- dependency-name: nginx
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Gorej <vladimir.gorej@gmail.com >
2021-11-03 11:52:49 +01:00
Vladimir Gorej
3c9061e6b4
fix(Dockerfile): fix security issue in docker image
...
Refs #7445
2021-09-13 15:04:09 +03:00
Vladimir Gorej
325909fb6a
build(docker): fix docker image Node.js security issue
...
Refs #7445
2021-08-11 10:04:57 +02:00
Christian Mehlmauer
5217366c09
add swagger url option ( #6122 )
2020-06-09 16:49:15 -07:00
renovate[bot]
703fc08d17
housekeeping(deps): update nginx docker tag to v1.19 ( #6052 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2020-06-03 13:35:27 -07:00
renovate[bot]
408e6092f9
housekeeping(deps): update nginx docker tag to v1.17 (via #5485 )
2019-08-22 22:11:37 -07:00
Jens Reimann
e435122e5e
Allow this to run in a non-root enviroment
2019-07-23 11:37:59 +02:00
kyle
604c7b420f
fix: generate gzipped Docker assets at runtime (via #5219 )
2019-03-05 15:49:45 -08:00
Yann Odeyer
dd961ed401
improvement(docker): gzip static files (via #5199 )
2019-03-01 21:06:40 -08:00
Drew Freyling
52ce2871a2
improvement(docker): smaller images via no-cache option (via #5157 )
...
* add no-cache option for smaller images
* move flag immediately after `apk`
adjusting to be as close to the example as possible: https://github.com/gliderlabs/docker-alpine/blob/master/docs/usage.md#disabling-cache
2019-02-05 18:06:18 -06:00
Segev Finer
dd34393ea2
improvement(docker): avoid caching mounted json/yml/yaml assets (via #5151 )
2019-02-02 00:14:48 -06:00
kyle
c6eb8edb5f
feature: Docker OAuth block support (via #4987 )
...
* add `onFound` callback to schemas
* add warning to method docs (for #4957 )
* implement Docker OAuth2 init block support
* update docs
* add OAUTH_SCOPE_SEPARATOR
* drop OAuth env from Dockerfile and run script
* don't indent the first oauth block line
* drop unused `dedent` import
* touch up warning message
* add more test cases
* return an empty block if no OAuth content is generated
* fix broken doc line
2018-11-01 18:52:13 -04:00
kyle
31a8b13777
feature: full-spectrum runtime Docker configuration (via #4965 )
...
* reorganize docker things
* Configurator WIP
* implement Docker runtime config generator
* add tests
* update documentation
* fix Markdown tables
* Move Docker section
* add note to README
* move up `nodejs` install for more aggressive caching
* drop exclusive test
* fix missing `DISPLAY_OPERATION_ID`
2018-11-01 14:53:29 -04:00
Matthew O'Connor
7fff56cc29
fix(docker): make shell script executable (via #4876 )
2018-09-14 22:07:23 -07:00
Chris McKnight
6ab3b73d61
feat(docker): allow configUrl to be used in Docker (via #4881 )
...
Closes #4861
2018-09-14 22:00:24 -07:00
Harry Martland
98fdb3e43c
improve(docker): use nginx image ( #4796 )
...
The nginx image contains a newer viersion on nginx
2018-08-17 18:15:24 -07:00
Peter Dave Hello
4de4f71af7
improvement: update Dockerfile ( #4799 )
...
* [Dockerfile] Use `--no-cache` instead of `--update` for `apk add`
To prevent unnecessary cache in the Docker image.
* [Dockerfile] Use `COPY` instead of `ADD` for non tarball file copying
* [Dockerfile] Update base image from Alpine v3.5 to v3.8
2018-08-08 14:16:20 -07:00
kyle
bf77474a11
use HTTPS for Petstore by default ( #4652 )
2018-06-15 14:36:15 -07:00
Jake Reed
71d39af443
fix(docker): MAINTAINER deprecated. Use LABEL. ( #4370 )
2018-03-27 12:02:22 -07:00
Paulo Schneider
f29202fed8
improve(docker): support multiple API URLs option ( #4044 )
...
The API_URLS environment variable can be used to run the Docker image with multiple urls.
Example:
docker run -p 80:8080 -e API_URLS=[{name:"First API", url:"http://firstapiurl "},{name:"Second API", url:"http://secondapiurl "}] swaggerapi/swagger-ui
2018-01-19 12:35:20 -06:00
David Muto
5b1dbec9b0
feature(docker-image): allow custom nginx port within container ( #4086 )
...
* Use PORT to override nginx listen port when defined
* Add dockerignore to make build context smaller
2018-01-12 13:52:09 -06:00
Michael Parker
5db4131046
Allow UI base url to be customizable
2017-11-28 12:01:49 -06:00
Michael Mrowetz
494b99ebef
update base-image to alpine 3.5
2017-05-25 10:55:38 +09:00
Tony Tam
3ce9baee30
added variables for docker
2017-04-11 13:59:34 -07:00
Ron
7f525a8730
gone with the public
2017-04-04 14:37:45 -07:00
Kyle Shockey
4a81a12f93
Webpack build and Dockerfile updates, to account for new structure
2017-03-24 21:55:17 -07:00
Damiano Petrungaro
a5a65589ce
Added missing slash
2017-03-20 09:45:27 +01:00
Tony Tam
a45cef0e24
copy all files
2017-03-19 12:14:18 -07:00
Tony Tam
9afe6802db
added dockerfile instructions
2017-03-18 13:58:30 -07:00
Ron
bd8344c808
out with the old
2017-03-17 20:34:15 -07:00
janpapenbrock
b2e313f3e3
Attach nginx process to PID 1 so the container can be stopped properly.
2017-02-23 17:55:16 +01:00
Chunyang Wang
f8e5e57540
create required directory to store nginx pid
2016-12-01 16:55:59 +08:00
Roman Tarnavski
595f604379
- added nginx.conf to provide greater flexibility of configuration (ie. listening port)
...
- reverted to port 8080 for the docker image
2016-05-07 17:46:45 +10:00
Roman Tarnavski
7a47fb8024
- switching to alpine:3.3
...
- removed node dependency
- removed un-necessary source-code bulk
- serving just the static content
2016-05-05 19:37:34 +10:00
Roman Tarnavski
2c7cad3f47
- changed to a smaller OS footprint (VMware's Photon OS)
...
- simplified Dockerfile definition
- explicitly exposed the port
2016-04-29 15:55:56 +10:00
Ron
f3e7beecf3
Updated project location
2015-06-04 15:36:42 -04:00
Akshat Aranya
235e0c00da
fixes to docker installation
2015-02-05 08:28:36 -08:00
Tony Tam
d2717710d6
merged from develop_2.0
2015-02-01 02:27:52 -08:00