Commit Graph

51 Commits

Author SHA1 Message Date
DrPsychick
5e91da642e chore: update container image to go 1.25.1 (#2074) 2025-10-05 22:10:40 +00:00
DrPsychick
9c326020ac fix: add tzdata to image (#2072) 2025-09-26 15:44:01 -07:00
dependabot[bot]
caed52a6cd update-docker-image(deps): bump alpine from 3.20 to 3.22 in /cmd/proxy (#2062)
Bumps alpine from 3.20 to 3.22.

---
updated-dependencies:
- dependency-name: alpine
  dependency-version: '3.22'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-13 05:39:09 +02:00
DrPsychick
5b7c76c159 fix: explicit alpine version, so dependabot detects it (#2061) 2025-08-13 00:29:49 +02:00
HDYA-BackFire
b1036a9dc8 [chore][golang] bump golang to 1.23.5 for security patches (#2025) 2025-01-27 12:20:22 -08:00
yueluhuan
ac9e4fa4fe Bump go version to 1.23.4 (#2019) 2025-01-20 08:51:00 +01:00
Nicholas Wiersma
e53c524a96 chore: upgrade go to v1.23.2 (#1997)
Upgrades Go to 1.23.2
2024-11-14 05:36:25 +00:00
Jérôme Foray
223a173806 fix arch selection for github-app helper (#2003) 2024-11-13 11:11:06 +02:00
Jérôme Foray
1644083522 fix: use TARGETARCH to select the git-credential-github-app artifact (#2002) 2024-11-12 19:44:15 +02:00
Bradley Kemp
2c2608a3f5 Update Dockerfile (#1995) 2024-10-28 08:01:49 +02:00
Nicholas Wiersma
71119f8fcf feat: support GitHub App authentication (#1988)
Adds support for using GitHub Apps as a form of authentication
2024-10-21 18:14:34 +00:00
Nicholas Wiersma
2712e2ef17 fix: go in docker failing (#1989)
Co-authored-by: Matt <matt.ouille@protonmail.com>
2024-10-07 21:22:53 +02:00
Matt
0092d3a118 Upgrade to Go 1.22 toolchain (#1987)
Upgrades to the Go 1.22 toolchain. Upgrades golangci-lint to 1.61.0 and disables some new linters.

---------

Co-authored-by: Nicholas Wiersma <nick@wiersma.co.za>
2024-09-28 05:51:14 +00:00
Michel Loiseleur
43d56f07f6 fix: arm64 build (#1911) 2024-01-03 16:16:08 +01:00
Richard Hillmann
e35007b3a2 feat: Publish multi-arch docker image (amd64 and arm64) (#1862)
* add arm64 to goreleaser
2023-05-04 09:11:47 +02:00
Manu Gupta
4b0169ce38 Update alpine to 3.17 and build smaller binary. (#1850)
This PR updates alpine to 3.17 and builds smaller athens binary.
By using these flags; we are saving around 14M in athens binary
size.
2023-03-13 10:37:00 +02:00
Nicholas Wiersma
4090b0620a feat: update to Go 1.20 (#1838)
Co-authored-by: Manu Gupta <manugupt1@gmail.com>
2023-03-12 22:12:39 -07:00
Nicholas Wiersma
96f7cb8975 feat: add non-root user to docker image (#1843) 2023-03-08 20:13:01 -08:00
Ashish Ranjan
b7dd8a85de upgrade go version to 1.19 (#1814)
* upgrade go version to 1.19

* update base image
2023-01-19 22:32:08 -08:00
Manu Gupta
69f7a1f902 Update to go1.18 (#1768) 2022-03-21 10:47:41 -07:00
Manu Gupta
898673c600 Deprecate bzr as it is unmaintained. (#1742)
Alpine moved bzr to unmaintained status. See
https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10000
2021-12-04 22:46:27 -05:00
jason-liew
535c26b0e0 Upgrade GOLANG_VERSION to 1.17 (#1741)
* Upgrade GOLANG_VERSION to 1.17

Fixes ##1740

* feat: upgrade to go1.17

Co-authored-by: shangji.liu <shangji.liu@qingteng.cn>
Co-authored-by: Marwan Sulaiman <marwan.sameer@gmail.com>
2021-12-03 00:56:05 -05:00
Shimin Guo
bb0788dd5c Update alpine version to latest (#1732)
3.11 will reach end of support on 2021-11-01
2021-09-30 14:30:00 -04:00
Latchezar Tzvetkoff
6991d6347b Fix permissions for /config/config.toml so Athens can run as non-root (#1699)
Fixes #1695.

Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2021-03-31 11:20:23 -07:00
Chris Mills
05438234ed Fix issue with build arg in drone deployment (#1602)
The ARG before the FROM call in multistage builds is dropped with the
previous container. We need to define it globally

Signed-off-by: Chris M <millscj01@gmail.com>
2020-04-13 15:29:29 -07:00
Aaron Schlesinger
a8467661c2 Adding build arg for the alpine version the docker image is based on (#1585)
* Adding build arg for the alpine version the docker image is based on

* Actually using the arg

* Using Alpine 3.11.5

Co-authored-by: Ted Wexler <ted@stuckinacan.com>
2020-04-07 15:50:02 -04:00
Ted Wexler
53232f726d Update builds for Go 1.14 (#1558)
* Update .drone.yml for Go 1.14

* Update appveyor.yml for Go 1.14

* Update Dockerfile.test for Go 1.14

* Update Dockerfile for Go 1.14

* Update scripts/build-image/Dockerfile
2020-02-26 15:53:12 -08:00
Marwan Sulaiman
86da1590bc Dockerfile: ensure right perms for production setting (#1530) 2020-01-19 19:14:49 -05:00
Arne Bahlo
6ee9e0932c Install git-lfs on proxy container (#1455)
For repositories that store some files in git-lfs, the checksum will
differ for clients with and without git-lfs. Clients without git-lfs
will use the git-lfs pointer [0] for calculation, clients with will use
the real files.
This adds git-lfs to the container to match expected behaviour and
resolve checksum mismatches in these cases.

[0] https://github.com/git-lfs/git-lfs/blob/master/docs/spec.md
2019-11-11 13:17:50 -08:00
David Farrell
ab8caa2fc4 Remove G_ENV=production from proxy Dockerfile (#1443) 2019-11-06 19:38:55 -05:00
David Farrell
000d2b92a1 Add GOLANG_VERSION arg support to proxy-docker make target + Dockerfile (#1430)
* Add GOLANG_VERSION arg to proxy-docker

* Set default GOLANG_VERSION to 1.13 in Makefile

* Add note in proxy Dockerfile re: GOLANG_VERSION

* Add GOLANG_VERSION to docker-compose dev target
2019-11-06 11:32:59 -08:00
Marwan Sulaiman
8db652e04c Upgrade to Go 1.13 (#1377) 2019-09-13 13:48:28 -04:00
Penthaa Patel
f0f046ae09 Removed -mod=vendor from Makefile and docs (#1250)
* removed -mod=vendor from Makefile

* removed -mod=vendor from docs

* Set GOPROXY=https://proxy.golang.org in docs and Makefile

* remove -mod=vendor from Dockerfile; add GOPROXY=https://proxy.golang.org
2019-06-07 15:14:32 -07:00
marpio
d0472f666e Use alpine tini (#1260)
* use alpine tini

* do not COPY tini from the builder
2019-05-31 08:26:27 -04:00
Marwan Sulaiman
85bcef5b57 Dockerfile: wrap athens with tini (#1190) 2019-04-22 20:53:13 +02:00
Marwan Sulaiman
5c25be9feb build: switch to go1.12 (#1092)
* build: switch to go1.12

* switch travis to 1.12
2019-02-27 23:06:04 +01:00
fsouza
94cbd9a263 Dockerfile: remove redundant call to apk update (#1069)
- ``apk update`` fetches the index and saves it locally
- ``apk add --update`` fetches the index and installs the requested
packages
2019-02-18 11:30:17 -05:00
Marwan Sulaiman
8356831a43 Use Go 1.12rc for Docker Image (#1063)
* Use Go 1.12rc for Docker Image

* generalize rc
2019-02-17 20:38:55 -08:00
Carolyn Van Slyck
f776bc6667 Fix CI build (#903)
* Do not use whitespace in default version during CI build

* Verify docker build during PR builds
2018-11-11 15:43:41 -06:00
Rob j Loranger
1a94129c80 Fix docker builds in Travis (#900) 2018-11-11 12:18:50 -06:00
Rob j Loranger
2f524d27c3 add build details to binary (#866)
* poc

* finish JSON, remove uneeded methods, update docker file, finish script details

* build.Details didn't need to be exported

* typo

* somehow missed this

* should default to false

* Fix some things

remove commit SHA as build script will now create a hybrid for version
as in the push-docker-images.sh script, code shamelessly stolen.

change JSON function to Data and return a struct, the caller can do what
they like with that data, i.e. marshall JSON for a response body.

* add struct tags

* use build script in docker image

* newline in build.sh

* use previously generated version for binary build

* Working docker args

removed script build.sh, was not really needed.

date is generated automatically during docker build process.

VERSION will be set to 'Not Specified', or the version set during
our CI docker build/push step. A user can set their own version during
build using ldflags.

* remove old comment re: script

* Yikes

Almost forgot to remove my testing junk

* GitHub on my phone is hard
2018-11-09 10:32:55 -08:00
Marwan Sulaiman
83281a80fb Proxy remove assets and config scripts (#693)
* Proxy remove assets and config scripts

* update olympus dockerfile - tho its outdated anyway
2018-09-21 16:31:47 -04:00
marpio
bcc896f226 rename example to dev and rm test config (#691) 2018-09-20 16:38:08 -04:00
Marwan Sulaiman
7e881bfaec Dockerfile updates: better naming and prefer CMD (#688) 2018-09-20 11:32:50 -04:00
Marwan Sulaiman
b6ca4149e5 Default to example config (#678) 2018-09-19 02:20:37 -04:00
Gil
5fe85f7cf5 changed base to use 1.11-alpine and addded GO111MODULE=on to environment (#635)
* changed base to use 1.11-alpine and addded GO111MODULE=on to environment

* change go build to be one line with modules on

* add vcs systems that were in original stretch image

* created multistage build with copy from and path environment update

* added env GO111MODULE=on

* add and run create default, prereq bash installed, moved go binary, created GOROOT path

* update to preferred docker entry point and shorter config path

* added fossil and info to links for compare of VCS
2018-09-19 00:48:05 -04:00
Rohan Chakravarthy
0e470d0294 Plumb config - Latest (#627)
* switch proxy to config file

pull in single flight changes

* changes for single-flight

* intermediate stage. All tests passing. pkg still has env refs

* remove all env references

* delete config/env entirely

* fix failing tests

* create the config.toml file as part of dev setup

* create config file only if it doesn't exist

* update Dockerfiles to use config file

* move composing elements to the top

* verbose parameter naming

* newline

* add flag for config file path

* update docs with config file flag

* remove unnecessary nil check

* use filepath.join

* rename redis port to address

* fix path.join

* fix issues after merge

* add vendor dir
2018-09-11 15:04:20 -07:00
Komu Wairagu
748ed7dda9 Remove dep files (#378)
* remove vendor directory
athens will be using Go modules for dependency management

* remove Gopkg.* files. athens will be using Go modules for dependency management

* add note about Go version required for developing on Athens
To use Go modules for dep management, you require atleast Go version 1.11

* update documentation regarding supported version of Go

* dont install dep

* re-add vendor directory
go mod vendor

* use vendored directory to carry out Go commands

* remove the use of -mod=vendor
this is necessary because;
1. we are running ci in a travis with a matrix of GO111MODULE=on & GO111MODULE=auto
and -mod=vendor is not available as an option in GO111MODULE=auto(inside GOPATH)

* rm vendor

* run go mod tidy
this is beacuse the master branch had changes to Gopkg.lock

* match gopkg.in/go-playground/validator.v9 version
with master branhc

* go mod tidy

* go mod vendor
so as to vendor the new changes that were added in master

* set GO111MODULE=on globally in ci

* build with -mod=vendor when building docker image

* use -mod=vendor to avoid getting deps from vcs in ci

* use -mod=vendor in .drone.yml

* use go1.11 in drone.yml
2018-09-02 11:54:42 -04:00
Komu Wairagu
69a5340c91 update to go1.11 (#563)
* update travis to Go 1.11

* update check_deps ci script
ci for checking dependencies should now check Go module files and use go mod verify

* remove uneeded comment

* set GO111MODULE

* debug GO111MODULE propagation

* rm dep installation

* debug GO111MODULE propagation

* rm debug statements

* use Go point releases in ci

* remove references to Go1.11 RCs

* run ci with GO111MODULE auto and also on

* use matrix
2018-08-28 08:46:12 +02:00
Marwan Sulaiman
8554f91286 Proxy: MVP Dockerfile (#536)
* Proxy: MVP Dockerfile

* remove comments

* add new line
2018-08-21 10:37:17 -04:00