James Hillyerd
b91a681ac0
chore: Modernize Docker ENV statements ( #552 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2024-10-20 16:53:44 -07:00
James Hillyerd
9471035a59
chore: Build with Go 1.23 ( #551 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2024-10-20 13:05:39 -07:00
James Hillyerd
d8746e8093
node: 20.x ( #468 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2024-02-04 21:25:43 -08:00
James Hillyerd
e190adef4d
go: 1.21 ( #466 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2024-02-04 20:03:30 -08:00
James Hillyerd
d2fad433d7
Dockerfile: add missing node-gyp build dep to node:18 image ( #403 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-10-16 16:00:35 -07:00
James Hillyerd
5eb9592637
docker: fix insignificant ENV typo ( #396 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-09-13 12:07:53 -07:00
James Hillyerd
7c13a98ad2
ui: bump nodejs to 18 (LTS) ( #381 )
2023-08-25 12:11:45 -07:00
Carlos Tadeu Panato Junior
926f9f3804
Few updates in ci jobs and go.mod/dockerfile ( #372 )
...
* update go.mod to 1.20
* clean up and format ci jobs
* update go and alpine images in dockerfile
Signed-off-by: cpanato <ctadeu@gmail.com >
2023-05-30 14:08:07 -07:00
James Hillyerd
61454a0c9c
Build with Go 1.19 ( #305 )
...
Also adds `:edge` tag to dev docker-run.sh script
2023-01-12 20:19:40 -08:00
James Hillyerd
03cc31fb70
Build with Go 1.18
2022-07-04 16:23:06 -07:00
James Hillyerd
06d4120682
Migrate to Yarn & Parcel ( #260 )
...
* Switch from npm to yarn
* Add minimum viable parcel dev server config
* Remove webpack configs
* Update docker build, build w/ yarn on node 16.x
2022-04-23 13:35:54 -07:00
James Hillyerd
58bcd4f557
Docker frontend build runs as amd64 ( #270 )
2022-04-23 10:33:46 -07:00
James Hillyerd
8869acef0b
Bump Go to 1.17 ( #233 )
...
* Bump Go to 1.17
* update chglog
2021-08-22 12:31:13 -07:00
James Hillyerd
66dec49a49
Bump Go version to 1.16 ( #202 )
...
* bump go version
* Docker: bump go/alpine version
2021-05-01 14:16:59 -07:00
James Hillyerd
f0520b88c5
Update backend and docker dependencies ( #173 )
...
* backend: update dependencies
* travis: go 1.15
* docker: bump to go 1.15, alpine 3.12
2020-08-30 13:18:58 -07:00
James Hillyerd
001e9fec58
Rollback #153 as it breaks storage volumes, closes #27 ( #161 )
...
Keeping tzdata pkg
2020-06-28 11:00:51 -07:00
Martijn Suijlen
3372ade61b
Docker image should run non-root ( #153 )
...
Changed the Dockerfile so that there is a Inbucket user (and group). This will allow the container to be executed a the Inbucket user in stead of ROOT (security best practices)
If the user wants to use a different greeting.html file he can use the environment variable to define a different one. For now we just use the greeting.html from the defaults directory.
* Permissions for /start-inbucket.sh file
* Added timezone data so you can set the timezone in the image
* Updated Docker greeting.html file to include some basic instructions
* Updated to alpine 3.11
* Updated to golang 1.14
* Updated the required packages
2020-06-26 08:38:27 -07:00
James Hillyerd
107b649738
docker: Capture stderr in healthcheck
2020-03-29 20:49:38 -07:00
Martijn Suijlen
c91a3ecd41
docker: Add a healthcheck ( #152 )
...
Use the INBUCKET_WEB_ADDR value to get the port number of Inbucket using 'cut'. If the variable is not set, use the default value (and that is 0.0.0.0:9000). Healtcheck will check the exit code of the command executed (0=HEALTHY)
2020-03-29 20:40:39 -07:00
James Hillyerd
2c74268014
docker: Fix + some tweaks, fixes #155
...
- Reorder deps & builds
- Download elm binary
- g++ and python3 for node-gyp
- Bump go & alpine versions
- Use npm ci
2020-03-29 20:15:33 -07:00
James Hillyerd
e359c0b030
docker: go 1.11 -> 1.12, alpine linux 3.8 -> 3.10
2019-08-17 13:00:01 -07:00
James Hillyerd
79fdc58567
docker: set UIDIR, closes #134
2019-01-21 10:49:19 -08:00
James Hillyerd
aae41ab79a
docker: Build Elm UI in container
2018-12-11 19:24:38 -08:00
James Hillyerd
ff7fb8a781
docker: Fix build for webpack UI dist dir
2018-11-18 19:53:55 -08:00
James Hillyerd
8017e0ce57
docker: Update for elm UI artifacts
2018-11-12 22:05:48 -08:00
James Hillyerd
f9adced65e
docker: Update build to use Go 1.11+modules for #121
...
- Fix outdated params in docker-run.sh
2018-10-20 12:36:09 -07:00
James Hillyerd
d846f04186
docker: Switch to multistage build, closes #66
2018-04-07 17:00:37 -07:00
James Hillyerd
8c66a24513
config: lowercase log levels for #90
2018-04-01 20:50:18 -07:00
James Hillyerd
87bab63aa2
docker: Default to JSON log output for #90
2018-03-31 16:12:05 -07:00
James Hillyerd
86c8ccf9ea
docker: Update for environment config for #86
...
- Change to default ports (less surprising)
- Drop `/con/` volume naming, never caught on
2018-03-25 15:39:04 -07:00
James Hillyerd
1f56e06fb9
docker: fix build for #79
...
- Build with Go 1.10
- install.sh: git fetch fails with ssh remotes, removed
2018-03-10 12:45:56 -08:00
James Hillyerd
ef17ad9074
Update Docker base to go 1.9
2017-12-14 22:16:24 -08:00
James Hillyerd
f09a4558a9
Bump go versions for Docker and TravisCI
2017-01-21 21:22:29 -08:00
James Hillyerd
f996fa2ae7
Docker best practices
...
- Install and remove OS and Go build deps in a single layer
- Use COPY instead of ADD
- WORKDIR now resolves ENV variables, use one
- Use VOLUMES for configuration and datastore
- Added launcher script start-inbucket.sh
- Made docker-run.sh more powerful
2016-02-23 22:09:39 -08:00
James Hillyerd
9fafbf73d0
Dockerfile now builds from golang:1.6-alpine
2016-02-22 21:10:48 -08:00
James Hillyerd
3b0d17867e
Docker updates
...
- Build from official golang image
- Modernize docker build script
- Remove sudo from docker-run.sh, relocate
2015-08-23 23:39:07 -07:00
James Hillyerd
9ca1711252
Update website links
2014-05-25 21:51:55 -07:00
James Hillyerd
bb398498d4
More Docker work
...
- Dockerfile now builds Inbucket inside the container
- Add starter inbucket.conf for Docker
- Add install.sh to build inbucket inside container
- Add customized greeting.html for Docker
2014-05-25 16:10:05 -07:00
James Hillyerd
cb487c3c7b
Switch to crosbymichael/golang trusted base
2014-05-25 13:46:17 -07:00
James Hillyerd
8f5ac7ba5b
Add Dockerfile (experimental)
...
- Does not build inside of Docker, just copies from local machine
2014-05-19 23:09:37 -07:00