Commit Graph

31 Commits

Author SHA1 Message Date
Cian Johnston 891c3855db
feat(image/base): add jq (#270)
adds jq to enterprise-base and enterprise-minimal
2024-03-14 15:49:23 +00:00
Muhammad Atif Ali c35ef22abf
chore: format and optimize Dockerfiles (#256) 2024-01-17 13:33:24 +03:00
Muhammad Atif Ali 48221d5d18
fix: switch docker deb repo to jammy (#255) 2024-01-17 12:23:12 +03:00
Muhammad Atif Ali 0dd8dc921d
chore: use `docker-compose` binary from the `docker-compose-plugin` pkg (#254) 2024-01-17 12:16:07 +03:00
Muhammad Atif Ali 5fb04fd943
feat: build multiarch images (#244) 2024-01-16 15:39:23 +03:00
Cian Johnston c8bb86df29
chore(images/base): update to 22.04 (#241) 2023-12-19 16:38:14 +00:00
Jon Ayers b7d2fa64af
breaking: removed support for CentOS (#207)
- Due to excessive vulnerabilities removed `brew` from Ubuntu images.
2023-02-16 11:43:56 -06:00
Jon Ayers e6f03c8b73
chore: try to fix centos image (#203)
- Use correct base for rust centos image.
2023-02-14 22:29:39 -06:00
Dean Sheather 983c953be9
chore: add apt-get upgrade to ubuntu base (#204) 2023-02-14 19:37:32 -08:00
Jon Ayers 0913166052
chore: prevent installing homebrew-core when installing homebrew (#201)
- There are some default libraries that contain test code that triggers
  our security scanners. Having homebrew installed should be sufficient
  for users. This will eventually be the default for all brew users anyway.
  See https://github.com/Homebrew/brew/issues/13794#issue-1359708246
- Update installed Go to 1.20
- Update Ruby to 2.7.7
- Update docker-compose to 2.16.0
2023-02-14 10:51:15 -06:00
Dean Sheather b505256cae
security: add trivy scanning workflow (#195) 2023-02-08 20:27:17 +11:00
Spike Curtis 828967697a
Add rsync to enterprise-base (#194)
Signed-off-by: Spike Curtis <spike@coder.com>
2023-02-02 08:24:51 +04:00
Asher 593bcc2efd
Set LANG on base images (#182)
This will make unicode work in terminals.
2022-11-18 15:43:22 -06:00
Cian Johnston 8f937ea980
chore: remove support for arch images (#161) 2022-05-18 09:09:38 +01:00
Cian Johnston b197270c7a
chore: fix centOS images (#160)
* fix: base-centos: move to centos stream 8 as centos 8 is EOL

* fix: jupyter-centos: install required deps

* fix: scripts/images.sh: fix dependency order

* fix: base-centos: downgrade containerd version to work with sysbox
2022-05-16 15:08:48 +01:00
Eric Paulsen a5e9af9bb6
chore: pin containerd version (#158)
Co-authored-by: Eric Paulsen <ericpaulsen+adm@coder.com>
2022-05-10 15:32:30 -04:00
Dean Sheather b67ec96764
chore: downgrade runc version in ubuntu image (#157) 2022-05-09 16:27:17 -05:00
Dean Sheather 28dfb4ec39
chore: use the official docker repo on ubuntu (#154) 2022-05-04 14:23:17 -04:00
Dean Sheather ee9e600c5a
Revert "chore: switch from named to numeric uids (#133)" (#135)
This reverts commit e760ec7474.
2022-02-17 09:35:18 +10:00
Jonathan Yu e760ec7474
chore: switch from named to numeric uids (#133)
Clusters that have an admission controller that requires containers
to run as a non-root user need the default user of the image to be
declared as a numeric uid, so that the constraint can be applied
prior to starting the container.

Change "USER root" to "USER 0" and "USER coder" to "USER 1000"
2022-02-16 11:01:10 -08:00
Ben Potter 3cc3d5aa7e
add docker-compose to base images (#84) 2021-09-15 08:05:31 -05:00
Jonathan Yu 1638e83ffb
chore: optimize layers in base images (#57)
* Reduce the number of layers in base images by consolidating
  related build steps
* Switch from yum to its successor, dnf, in the centos base image
* Delete package cache after installation to reduce image size
* Use bash to run Dockerfile build commands in centos and ubuntu
* Sort package dependencies alphabetically
2021-04-06 13:15:00 -07:00
G r e y 4bec2c8cd7
feat(base): Ubuntu git-core ppa (#49)
Co-authored-by: Jonathan Yu <jonathan.i.yu@gmail.com>
2021-02-18 13:46:22 -06:00
Jonathan Yu ea099c33b8
chore: pin archlinux package versions (#48)
* Switch from deprecated archlinux/base to archlinux/archlinux
* Pin a specific base image and repository snapshot, as recent
  versions are inoperable under Coder due to a glibc upgrade
  (https://bugs.archlinux.org/task/69563)
2021-02-17 15:07:30 -08:00
Charles Moog 98c24a3f55
feat: add homebrew to base images (#43) 2021-02-02 12:46:14 -06:00
Charles Moog ce6258c83e
fix: add coder user to docker group (#40) 2020-12-16 17:00:01 -06:00
Charles Moog ed0a191a8b
feat: add docker and dockerd systemd service to base images (#37) 2020-12-16 12:20:27 -06:00
G r e y 99aba5c640
docs: Add image READMEs (#28) 2020-12-01 20:00:48 -06:00
Will O'Beirne b8ad3bcb41
Add default java images (#20) 2020-10-26 00:27:49 -05:00
Will O'Beirne 29266595cd
Remove lsb-release, we use /etc/os-release for os info (#16) 2020-10-22 17:35:57 -05:00
Will O'Beirne 85fc274873
Create a set of base images for all other images to use (#13)
* Create a set of base images that other images use to reduce duplication
* Use docker driver to allow using locally built and cached images
* Add lsb-release, ca-certificates, and locales (or equivalent packages) to base images
* Add pip3 to ubuntu
2020-10-19 18:10:23 -05:00