Commit Graph

41 Commits

Author SHA1 Message Date
Yethal
6ee13126f7
Update Dockerfile (#5910)
Container now uses unpriviledged user with UID 1000 by default
Container now uses Alpine as base
Final image size dropped to just 67MB
2022-06-29 18:36:24 -05:00
Justin Ma
848ff8453b
feat: Update dockerfile for latest nu release (#5843) 2022-06-21 18:28:31 +08:00
Justin Ma
257290acc2
Add a dockerfile example based on debian bullseye-slim (#5176)
* feat: add nu dockerfile, based on debian bullseye

* use aria2 instead of wget for bad network

* some small fix
2022-04-13 14:48:54 +03:00
JT
cdc8e67d61
Remove unused repo parts (#4271)
* Remove unused repo parts

* Update README

* cargo fmt
2022-01-26 07:31:04 +11:00
Jonathan Turner
6951fb440c
Remove it expansion (#2701)
* Remove it-expansion, take 2

* Cleanup

* silly update to test CI
2020-10-26 19:55:52 +13:00
Ryuichi Watanabe
de5cd4ec23
Fix Dockerfile (cache clear of apt) (#2394) 2020-08-24 05:24:49 +12:00
Joseph T. Lyons
053bd926ec
First pass at updating all documentation formatting and cleaning up output of examples (#2031) 2020-06-24 06:21:47 +12:00
Waldir Pimenta
5ca9e12b7f
Fix whitespace and typos (#1481)
* Remove EOL whitespace in files other than docs

* Break paragraphs into lines

See http://rhodesmill.org/brandon/2012/one-sentence-per-line/ for the rationale

* Fix various typos

* Remove EOL whitespace in docs/commands/*.md
2020-03-14 06:23:41 +13:00
Jason Gedge
b2c5af457e
Move most of the root package into a subcrate. (#1445)
This improves incremental build time when working on what was previously
the root package. For example, previously all plugins would be rebuilt
with a change to `src/commands/classified/external.rs`, but now only
`nu-cli` will have to be rebuilt (and anything that depends on it).
2020-03-04 13:58:20 -05:00
Jonathan Turner
11e4410d1c
Merge pull request #806 from DrSensor/ci/github/quay.io
ci(github): replace docker.pkg.github.com with quay.io
2019-11-12 12:03:00 +13:00
Fahmi Akbar Wildana
7cf3c6eb95
Move env declaration to jobs.docker 2019-11-11 07:51:41 +07:00
Jonathan Turner
c42d97fb97 try again 2019-11-08 08:00:46 +13:00
Jonathan Turner
13314ad1e7 try again 2019-11-08 07:54:52 +13:00
Jonathan Turner
1cca5557b1 Second attempt to remove rust-toolchain 2019-11-08 07:27:39 +13:00
Jonathan Turner
c01b602b86
Update docker to stable 2019-11-08 06:34:53 +13:00
Vanessa Sochat
64345b2985
dont run nu at end of release build
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
2019-09-29 17:18:35 -04:00
Jonathan Turner
f99d38ead4
Merge pull request #625 from DrSensor/master
Publish various docker image on git-tag
2019-09-24 05:10:47 +12:00
Jonathan Turner
8d5b1ad233
Merge pull request #656 from jankoprowski/debian
Introduce debian packaging
2019-09-20 06:34:29 +12:00
Jan Koprowski
a96836facb Use tags instead container id and add all binaries to debian/install 2019-09-19 17:57:36 +02:00
Jan Koprowski
85a5ed70b1 Replace command with <image-id> 2019-09-19 08:16:39 +02:00
Jan Koprowski
a8e2801e0b Enhance docker/packaging/README.md about issue links 2019-09-18 17:43:06 +02:00
Jan Koprowski
c9310265fe Remove Dockerfile.bionic from docker directory 2019-09-18 17:04:31 +02:00
Jan Koprowski
4ad249694f Base on quay.io/nushell/nu-base:latest image 2019-09-16 19:55:53 +02:00
Vanessa Sochat
579c7ff6d6
updating base to 18.04
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
2019-09-13 08:46:52 -04:00
Jan Koprowski
a215997dcd Introduce debian packaging 2019-09-12 19:59:40 +02:00
Vanessa Sochat
6fe211fdbe
changing base image to use updated libssl, adding tests to run --help for nu
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
2019-09-12 12:46:16 -04:00
Vanessa Sochat
1f3f3d3105
adding missing docker dependencies openssl and pkgconfig
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
2019-09-11 13:44:23 -04:00
Fahmi Akbar Wildana
9dc58247e5 Fix wrong patch on glibc-busybox
because distroless/cc doesn't contain libz
2019-09-11 23:49:11 +07:00
Fahmi Akbar Wildana
62e6cc4dae
Add libgcc_s.so.1 for glibc-busybox 2019-09-11 09:38:22 +07:00
Fahmi Akbar Wildana
095e5ac69f
Add librt.so.1 for glibc-busybox 2019-09-11 09:10:38 +07:00
Fahmi Akbar Wildana
149ccc4fd3
Fix glibc-{busybox,distroless}
* Add libdl.so.2 for glibc-busybox

* Change base-image of glibc-distroless to gcr.io/distroless/cc
2019-09-11 06:41:37 +07:00
Fahmi Akbar Wildana
0ca7aaa56f
Add libz for glibc-{busybox,distroless}
Signed-off-by: Fahmi Akbar Wildana <f.a.wildana@gmail.com>
2019-09-09 16:45:55 +07:00
Fahmi Akbar Wildana
d900d8b4c7
Fix can't execute entrypoint
Signed-off-by: Fahmi Akbar Wildana <f.a.wildana@gmail.com>
2019-09-09 05:41:58 +07:00
Fahmi Akbar Wildana
99d5dae83a
Fix artifact is missing
Signed-off-by: Fahmi Akbar Wildana <f.a.wildana@gmail.com>
2019-09-09 04:20:08 +07:00
Vanessa Sochat
24ba0d93c7
test building akin to azure-pipelines (without release) to hopefully shorten circleci builds
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
2019-09-08 15:44:52 -04:00
Fahmi Akbar Wildana
21896b200c Add busybox as base image 2019-09-08 22:31:10 +07:00
Fahmi Akbar Wildana
c9c9112155
Build and publish docker img along with nu plugins
* Add Package.Dockerfile as flexible build source

* Add docker-compose.package.yml as intermediary config

* CI will use new github action YAML format

it only publish the docker image on git tag

* Add debian:latest, debian:slim, and alpine as base image

* Add documentation
2019-09-08 21:38:25 +07:00
Vanessa Sochat
2983fc1dea
so close, needed to have quay.io as from image base (not docker hub)
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
2019-08-29 20:56:48 -04:00
Vanessa Sochat
6d0ea5eda4
updating README to include instructions and link for quay.io, and removing multistage build for devel branch
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
2019-08-29 18:45:24 -04:00
Vanessa Sochat
40ca353c48
trivial change to trigger ci
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
2019-08-29 16:52:36 -04:00
Vanessa Sochat
2bae2b57ee
adding two Dockerfiles, one for base image and the other for multistage build, and circleci config to test
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
2019-08-27 17:58:45 -04:00