Commit Graph

57 Commits

Author SHA1 Message Date
aswind7 f845dc10bf fix dockerfile name
Signed-off-by: aswind7 <854413241@qq.com>
2025-10-31 15:32:09 +08:00
Patrik Oldsberg e655f626ad update existing references to yarn dev to use yarn start instead
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-04-08 13:14:46 +02:00
renovate[bot] 29ba5fd20c chore(deps): update node.js to v20
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 06:13:40 +00:00
Fredrik Adelöw 019d9ad3b3 minor dockerfile syntax update
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-08-21 09:27:59 +02:00
Karl Haworth 393daf4467 reduce RUN cmd
Signed-off-by: Karl Haworth <karl.haworth@aa.com>
2024-08-14 10:59:23 -04:00
Karl Haworth 905a114d96 remove python from node builder
Signed-off-by: Karl Haworth <karl.haworth@aa.com>
2024-08-14 10:52:28 -04:00
Karl Haworth fd7c45013b Update contrib/docker/minimal-hardened-image/Dockerfile
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Karl Haworth <58607256+karlhaworth@users.noreply.github.com>
2024-08-14 10:44:48 -04:00
Karl Haworth d7b06a60b0 Update contrib/docker/minimal-hardened-image/Dockerfile
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Karl Haworth <58607256+karlhaworth@users.noreply.github.com>
2024-08-14 10:44:47 -04:00
Karl Haworth 7529219d6c Update contrib/docker/minimal-hardened-image/Dockerfile
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Signed-off-by: Karl Haworth <58607256+karlhaworth@users.noreply.github.com>
2024-08-14 10:44:47 -04:00
Karl Haworth d00c679f00 change to ADD from COPY and adjust
Signed-off-by: Karl Haworth <karl.haworth@aa.com>
2024-08-14 10:44:47 -04:00
Karl Haworth 3e670f508b Add steps taken section
Signed-off-by: Karl Haworth <karl.haworth@aa.com>
2024-08-14 10:44:47 -04:00
Karl Haworth e9588ecac4 init
Signed-off-by: Karl Haworth <karl.haworth@aa.com>
2024-08-14 10:44:46 -04:00
Karl Haworth b55f026d43 remove backticks from 'wolfi'
Signed-off-by: Karl Haworth <karl.haworth@aa.com>
2024-04-16 11:49:12 -05:00
Karl Haworth 9d089a4219 change item to subbullet
Signed-off-by: Karl Haworth <karl.haworth@aa.com>
2024-04-16 07:52:35 -04:00
Karl Haworth 4120800bd9 - move path from minimal-harded-image -> minimal-hardened-image
Signed-off-by: Karl Haworth <karl.haworth@aa.com>
2024-04-16 07:51:40 -04:00
Karl Haworth 3ad8f49c1d add info on digests
Signed-off-by: Karl Haworth <karl.haworth@aa.com>
2024-04-16 07:51:23 -04:00
Karl Haworth d1c325e1c7 - update readme to include information on wolfi package strategy
Signed-off-by: Karl Haworth <karl.haworth@aa.com>
2024-04-16 07:51:02 -04:00
blam 202c05ec32 chore: fixing some small vale things
Signed-off-by: blam <ben@blam.sh>
2024-04-02 15:31:21 +02:00
Karl Haworth 1f8fb06f18 secure base image -> minimal hardened image
Signed-off-by: Karl Haworth <karl.haworth@aa.com>
2024-03-14 10:03:23 -04:00
Karl Haworth 53e38fe0ec remove digest per feedback
Signed-off-by: Karl Haworth <karl.haworth@aa.com>
2024-03-14 09:46:34 -04:00
Karl Haworth 38c5e7ea05 use node 18 to match upstream
Signed-off-by: Karl Haworth <karl.haworth@aa.com>
2024-03-01 15:53:49 -05:00
Karl Haworth 9bbabbc26c update build cmd
Signed-off-by: Karl Haworth <karl.haworth@aa.com>
2024-02-29 14:04:53 -05:00
Karl Haworth 7af6bad7f5 add considerations
Signed-off-by: Karl Haworth <karl.haworth@aa.com>
2024-02-29 10:10:01 -05:00
Karl Haworth 56f5dbc1b7 chore: add secure base image dockerfile alternative
Signed-off-by: Karl Haworth <karl.haworth@aa.com>
2024-02-29 09:55:52 -05:00
Fredrik Adelöw 6bbbf77f08 no hashes in contrib
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-02-14 12:09:34 +01:00
renovate[bot] 7592828f9d chore(deps): update nginx:mainline docker digest to 84c52df
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 00:29:01 +00:00
renovate[bot] 4b7c665402 chore(deps): pin dependencies
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-04 11:38:43 +00:00
Vity f2692a4fae Update default.conf.template - adding mime types support
Without mime types,enabled Nginx services files as text/plain. This is not supported eg. in the Firefox does not load CSS files with wrong Content-Type header. This caused stopped to work GraphQL plugin.

Signed-off-by: Vity <vity@vity.cz>
2023-05-25 11:35:26 +02:00
Patrik Oldsberg 7605c11cda bump Node.js to 16 & 18
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-11-07 11:39:08 +01:00
Philipp Hugenroth 75b5444245 Replace outdated url of Cookiecuter.dockerfile
- Clicked the URL & it was outdated due to this change: https://github.com/backstage/backstage/commit/ad9d74ff240c934ce46a474ae3f440d5f5fa493b 
- No update or verification of the actual documenation content

Signed-off-by: Philipp Hugenroth <tudi2d@users.noreply.github.com>
2022-10-17 11:49:52 +02:00
Patrik Oldsberg afb14027c2 contrib: remove jinja2 extension Dockerfile example, inline in README instead
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-08-10 15:51:34 +02:00
Patrik Oldsberg 009cffb4ee contrib: remove kubernetes example as its all documented elsewhere
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-08-10 15:51:34 +02:00
Renovate Bot a139131db9 chore(deps): update dependency alpine to v3.16
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-06-01 17:16:04 +00:00
Renovate Bot e07207baa5 chore(deps): update dependency alpine to v3.15
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-04-20 19:03:41 +00:00
Andrew Basson 1c95de39e3 chore(contrib/docker/devops): fix docs typos
Signed-off-by: Andrew Basson <andrew.basson@gmail.com>

Co-authored-by: Johan Haals <johan.haals@gmail.com>
2022-02-14 16:24:01 +01:00
Andrew Basson 3ec45a86e4 fix(docker): add deps for @vscode/sqlite3
The change to using @vscode/sqlite3 broke our deployment builds.
Adding the required build tool `g++` and linking `python` to the python3 executable.

```shell
make: Entering directory '/builds/.../node_modules/@vscode/sqlite3/build'
  ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3360000/sqlite3.c
/bin/sh: python: not found
```

Technically, the python path can be added to `.nmprc`, but added it to the docker file instead.

Signed-off-by: Andrew Basson <andrew.basson@gmail.com>
2022-02-14 11:53:13 +01:00
Otto Sichert b23bc7f9c3 Change default port of backend to 7007 due to MacOS Control Center update
Signed-off-by: Otto Sichert <git@ottosichert.de>
2021-11-18 16:45:57 +01:00
Ben Chidgey 7e2c0bc96f FIX: Stop sed escaping numbers 2 and 7 in Docker
An interesting edge case has come up whilst using BackStage.

When using the example frontend-with-nginx work to run a separate
frontend, whilst then providing an override for the
googleAnalyticsTrackingId in yaml config via
APP_CONFIG_app_googleAnalyticsTrackingId. I received an "Octal escape
sequences are not allowed in strict mode" error in the browser dev
console.

After looking into it it appears that the sed used escapes the numbers 2
and 7 if they are present in an APP_CONFIG_* ENV override value.
I happened to have both a 2 and a 7 in my GA ids, hence the edge case
part!

Of note this did not happen on my mac but it is present inside of the
nginx:mainline Docker container used in the example.

This fix simply removes the hex from the sed substitution regex and
replaces it with a single quote '

Signed-off-by: Ben Chidgey <ben@feedmypixel.com>
2021-09-23 17:34:54 +01:00
Patrik Oldsberg d0a47c8605 move to node 14 & 16
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-09-17 23:03:29 +02:00
Fredrik Adelöw ccfd99c9b1 update dockerfile instructions to build only app workspace
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-08-12 09:47:16 +02:00
Brian Fox 8bd92cff3f Update nginx deployment to use 1.19 features
- There is no need to override the `CMD` on the base image to get the custom scripts to run. This can be done simply by adding the custom configuration script to the `/docker-entrypoint.d` folder. See https://github.com/nginxinc/docker-nginx/blob/master/mainline/debian/docker-entrypoint.sh.
- With the above change made, we can now also reap the benefit of support for `envsubst` having been added in 1.19 -  as long as the config is placed in the folder `/etc/nginx/templates/`. See https://github.com/docker-library/docs/tree/master/nginx#using-environment-variables-in-nginx-configuration-new-in-119 and https://github.com/nginxinc/docker-nginx/blob/master/mainline/debian/20-envsubst-on-templates.sh for more info.

Signed-off-by: Brian Fox <brianhfox@gmail.com>
2021-04-22 17:36:05 +02:00
Fredrik Adelöw e669a8013f update the standalone frontend contribs
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-04-20 20:24:06 +02:00
Eric Swanson 3067de45a8 docs(contrib/docker/devops): improve devops containers readability
Signed-off-by: Eric Swanson <ericis@users.noreply.github.com>
2021-04-05 10:18:12 -04:00
Eric Swanson a133c273e3 chore(contrib/docker/devops): improve make targets
more holistic and consistent tasks
improved documentation

Signed-off-by: Eric Swanson <ericis@users.noreply.github.com>
2021-04-05 10:16:49 -04:00
Eric Swanson bd001c2093 fix(contrib/docker/devops): use libsecret-dev
chore: parameterize the vale url
Signed-off-by: Eric Swanson <ericis@users.noreply.github.com>
2021-04-05 10:15:24 -04:00
Eric Swanson 298ea04df6 docs(contrib): docker
Signed-off-by: Eric Swanson <ericis@users.noreply.github.com>
2021-04-05 10:14:00 -04:00
Eric Swanson 4d4183941f chore(devops): move container example under docker dir
Signed-off-by: Eric Swanson <ericis@users.noreply.github.com>
2021-04-02 16:29:37 -04:00
Vinay P 673c4f7d5a Allow overriding cookiecutter's docker imageName
.. to allow running custom-built images that have
cookiecutter installed alongwith extensions, for
example.

https://cookiecutter.readthedocs.io/en/1.7.2/advanced/template_extensions.html

related to:
https://github.com/backstage/backstage/pull/4956#discussion_r596846365

Signed-off-by: Vinay P <mail@vinayvinay.com>
2021-03-25 12:12:36 +00:00
Vinay P 3105b46afa Document use of Jinja2 extensions with fetch:cookiecutter
Signed-off-by: Vinay P <mail@vinayvinay.com>
2021-03-25 12:12:17 +00:00
Himanshu Mishra cca03162bc chore: Remove yarn docker-build:app command and related docs 2021-01-17 21:53:37 +01:00