Commit Graph

56 Commits

Author SHA1 Message Date
Márk Sági-Kazár
10597cf09f
Merge pull request #1893 from flant/add-dockerize
feat: Add gomplate to the docker image
2021-02-10 20:06:45 +01:00
m.nabokikh
715fee7a01 Switch to slim version of a gomplate and add a comment to docker config
Co-authored-by: Márk Sági-Kazár <sagikazarmark@users.noreply.github.com>
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-02-10 19:44:05 +04:00
dependabot[bot]
4dcce60d5c
chore(deps): bump golang from 1.15.7-alpine3.13 to 1.15.8-alpine3.13
Bumps golang from 1.15.7-alpine3.13 to 1.15.8-alpine3.13.

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-05 07:00:52 +00:00
Maksim Nabokikh
dd4a62e645 Apply suggestions from code review
Co-authored-by: Márk Sági-Kazár <sagikazarmark@users.noreply.github.com>
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-02-04 21:17:30 +04:00
m.nabokikh
3241fd4ae2 Move downloading gomplate to separate stage
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-01-29 13:48:40 +04:00
m.nabokikh
a6cb627763 Add docker build args
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-01-29 13:48:05 +04:00
Maksim Nabokikh
226c91df06 Apply suggestions from code review
Co-authored-by: Márk Sági-Kazár <sagikazarmark@users.noreply.github.com>
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-01-29 13:48:05 +04:00
m.nabokikh
d43053e11c Download gomplate during building phase
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-01-29 13:48:05 +04:00
m.nabokikh
e13aac4963 Switch to gomplate
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-01-29 13:48:05 +04:00
dependabot[bot]
b598eca785
chore(deps): bump alpine from 3.13.0 to 3.13.1
Bumps alpine from 3.13.0 to 3.13.1.

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-29 07:04:44 +00:00
Mark Sagi-Kazar
bb651cc664
chore(docker): copy web assets to the filesystem root
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-24 00:56:53 +01:00
Mark Sagi-Kazar
c939e51cb4
chore(docker): drop no-op workdir
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-24 00:49:08 +01:00
Mark Sagi-Kazar
d2d0d4a1ea
chore(docker): reorder instructions in build image
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-24 00:48:35 +01:00
Mark Sagi-Kazar
a33669e3ec
chore(docker): move user to the end
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-24 00:48:32 +01:00
Mark Sagi-Kazar
7b2972a04b
chore(docker): copy web assets from the build image
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-24 00:47:40 +01:00
Mark Sagi-Kazar
89f737329b
chore(docker): rename the builder image
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-24 00:47:40 +01:00
Mark Sagi-Kazar
feb90bd1b1
chore(docker): update builder image
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-24 00:47:36 +01:00
Mark Sagi-Kazar
b19fe5b49d
chore(docker): move copying the dex binary up in Dockerfile
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-23 19:07:25 +01:00
Mark Sagi-Kazar
fade69b5ae
chore(docker): relocate module files in the final image
/usr/local/src sounds like a better place than /opt

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-23 19:07:15 +01:00
Mark Sagi-Kazar
e49f6661f3
chore(docker): add a data directory for dex to var
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-23 19:07:08 +01:00
dependabot[bot]
0ed680071c
chore(deps): bump golang from 1.15.6-alpine3.12 to 1.15.7-alpine3.12
Bumps golang from 1.15.6-alpine3.12 to 1.15.7-alpine3.12.

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-20 06:53:12 +00:00
dependabot[bot]
dbd42ae777
chore(deps): bump alpine from 3.12.3 to 3.13.0
Bumps alpine from 3.12.3 to 3.13.0.

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-15 07:20:22 +00:00
dependabot[bot]
1866a7acc8
chore(deps): bump alpine from 3.12.2 to 3.12.3
Bumps alpine from 3.12.2 to 3.12.3.

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-14 22:20:48 +00:00
Mark Sagi-Kazar
d51937b62d
chore(docker): update alpine image
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-14 22:33:16 +01:00
Mark Sagi-Kazar
97606bd623
refactor: stop using GOPATH for building Dex image
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-14 16:24:55 +01:00
Stephen Augustus
c742b2a40a Update image versions
- golang:1.15.6-alpine3.12
- postgres:10.15
- gcr.io/etcd-development/etcd:v3.4.9

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-12-14 03:23:15 -05:00
Martin Heide
f7efe49e5e Copy module dependencies to Docker image for CVE scanning / dependency analysis
Signed-off-by: Martin Heide <martin.heide@faro.com>
2020-11-18 12:55:20 +00:00
Mark Sagi-Kazar
85239d515d
Download dependencies in advance
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2020-11-05 14:26:39 +01:00
Liviu Costea
83673fb320 feat: reduce image size without apk cache
Signed-off-by: Liviu Costea <email.lcostea@gmail.com>
2020-10-16 19:52:21 +03:00
Alastair Houghton
3288450b3e fix: copy the "web" directory.
The Dockerfile was changed to do

    COPY web .

which is unfortunate because that means copy the *contents* of the directory
"web", rather than copying the directory itself which is what the author
intended.

Issues: #1820
Signed-off-by: Alastair Houghton <alastair@alastairs-place.net>
2020-10-05 15:52:30 +01:00
Mark Sagi-Kazar
f3fc0c5395
chore: update Go to 1.15
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2020-09-28 00:22:47 +02:00
MIℂHΛΞL FѲRИΛRѲ
549b67bccd
Adding architecture support for arm/arm64/amd64 docker images (#1781)
add multi-arch image support for armv7/arm64/amd64 architectures
2020-09-27 23:47:39 +02:00
Mark Sagi-Kazar
dc3dcdd5c5
Build with Go 1.14 2020-07-01 14:02:01 +02:00
Nandor Kracser
dbea20d078
update go to 1.13 and alpine to 3.10
Signed-off-by: Nandor Kracser <bonifaido@gmail.com>
2019-12-04 10:46:53 +01:00
Daniel Kürner
2dccdc2a1a Dockerfile: build with golang 1.12.9 2019-08-22 08:40:31 +02:00
Stephan Renatus
27b8426704
Dockerfile: build with golang 1.12.8
Signed-off-by: Stephan Renatus <srenatus@chef.io>
2019-08-14 10:24:17 +02:00
Stephen Augustus
56f02b95c6 Update Docker build/image
- Update build container to golang:1.12.4-alpine
- Update dex image to alpine:3.9
- Run dex as non-root user

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2019-04-16 17:00:05 -04:00
Eric Chiang
86eeee2ae2 Dockerfile: update Go to 1.11.5 2019-01-23 14:16:50 -08:00
Eric Chiang
bad15c1c02 Dockerfile: update to Go 1.11.3
Go 1.11.3 and 1.10.6 were released to mitigate security issues.
These don't appear to impact dex, but update anyway.

Ref: https://groups.google.com/forum/#!topic/golang-announce/Kw31K8G7Fi0
2018-12-13 15:12:49 -08:00
Eric Chiang
5514805cf0 *: update go version 2018-10-22 17:44:24 -07:00
Stephan Renatus
4a6da13097
Merge pull request #1253 from vasartori/master
Fix #1252
2018-09-10 08:12:17 +02:00
Victor Sartori
1ea1d809a1 Update alpine to 3.8 2018-09-06 16:31:58 -03:00
Stephan Renatus
b9f6594bf0 *: github.com/coreos/dex -> github.com/dexidp/dex
Signed-off-by: Stephan Renatus <srenatus@chef.io>
2018-09-05 17:57:08 +02:00
Victor Sartori
780a359f8e Fix #1252 2018-06-19 10:45:20 -03:00
Kevin Schuck
ca3d73c36d Updates go to 1.10.2 to support SHA-512 for ldaps 2018-05-10 11:23:50 -05:00
Eric Chiang
264484075a
*: update build to Go 1.10 2018-03-20 14:50:33 -07:00
Eric Chiang
04e276f2df
Merge pull request #1120 from ericchiang/update-maintainers
*: update maintainers
2017-11-08 15:46:31 -08:00
Eric Chiang
df075d8bda *: update maintainers 2017-11-08 14:19:07 -08:00
Eric Chiang
b58fba6753 *: Go 1.7 no longer supported and updated build image to 1.9 2017-11-08 13:33:01 -08:00
Tobias Furuholm
b6c3074ba0 Replace docker-build script with multi-stage build 2017-09-21 22:08:11 +02:00