Commit Graph

21 Commits

Author SHA1 Message Date
hc-github-team-consul-core 402b68ff68
Backport of Bump Alpine to 3.18 into release/1.16.x (#17725)
* backport of commit 189786c0232009b6232713e8fe98c50654e68b46

* backport of commit fceeebd3ae85db510a5cdcf0cd8288bbacf2f59e

---------

Co-authored-by: David Yu <dyu@hashicorp.com>
2023-06-14 01:17:02 +00:00
Dan Stough 24cb491c89
build(deps): update UBI base image to 9.2 (#17513) 2023-05-30 12:48:13 -04:00
Ronald 71fb0a723e
Copyright headers for missing files/folders (#16708)
* copyright headers for agent folder
2023-03-28 18:48:58 -04:00
Derek Menteer b0a97756bf
Upgrade Alpine image to 3.17 (#16358) 2023-02-22 10:09:41 -06:00
Semir Patel d9fb26061c
Force installation of shadow-utils for access to groupadd executable in ubi image (#15812)
Removing curl inadvertently dropped the transitive dependency on shadow-utils
which is required for the groupadd executable. Since curl-minimal does not
have this dependency, make it explicit as part of `microdnf install`.
2022-12-15 12:42:22 -06:00
Semir Patel 8581fc7100
Fix curl vs curl-minimail install conflict in ubi9 image (#15808)
ubi9 already has curl-minimal installed. Attempting to install curl
results in a microdnf conflict and errors out.
2022-12-15 11:00:39 -06:00
David Yu 456d50dfaa
Dockerfile: bump UBI base image to 9.1 (#15386) 2022-12-14 09:52:19 -05:00
Mariano Asselborn 3f88847590
Add version label to Docker image (#14204) 2022-08-18 14:41:34 -04:00
Michele Degges bc6ee86d29
set PRODUCT_VERSION for docker build (#14242)
Changes proposed in this PR:

In `actions-docker-build` we [pass](05c370a26e/scripts/docker_build (L49)) `PRODUCT_VERSION` to the docker build command. Since this was not set, the label did not populate properly which is used in a comparison to determine the `minor-latest` and `latest` docker image tags. 

How I've tested this PR:
 - build the image up to the point of label creation and pass in `--build-arg PRODUCT_VERSION=1.2.3`
 - inspect the image for the label with the above command

How I expect reviewers to test this PR:
- same as above

Related [internal-only] post about this: https://hashicorp.atlassian.net/wiki/spaces/RELENG/pages/2416934922/August+17+2022-+Docker+Build+Failures
2022-08-17 14:48:43 -07:00
Michele Degges 7e5d1c20ca
[CI-only] Support UBI images (#13232)
Co-authored-by: David Yu <dyu@hashicorp.com>
2022-05-26 09:49:47 -07:00
Michele Degges c600558594
Update docker image base to alpine:3.15 (#12276) 2022-02-04 13:56:39 -08:00
Michele Degges e513430187
Merge branch 'main' into fix-broken-dockerfile 2022-02-04 12:30:20 -08:00
Michele Degges 1808c0b49e Use docker mirror 2022-02-02 17:41:56 -08:00
Michele Degges 0088dd4fcf
Update Dockerfile
Co-authored-by: Evan Culver <eculver@users.noreply.github.com>
2022-01-26 11:24:56 -08:00
Michele Degges 0f1c11bdc9 Add docker target that pulls from releases.hashicorp.com 2022-01-25 17:09:42 -08:00
Michele Degges 8d0b03b54d Fix broken docker builds 2022-01-25 16:59:04 -08:00
Claire Labry a286cbee89
updating the alpine version 2021-12-17 10:41:04 -05:00
99 775077c859 add dumb-init package to Dockerfile 2021-11-18 08:36:59 -08:00
99 4fb00ffdb6 Make entrypoint script always executable 2021-11-17 17:08:18 -08:00
99 324fa75d25 PR fixes 2021-10-28 22:22:38 -07:00
99 c76e3eacd2 Add Dockerfile 2021-10-25 22:57:54 -07:00