bazel-nix-python-example's People
Forkers
shism2bazel-nix-python-example's Issues
How do I run this?
I have a passing familiarity with nix, bazel, and buck. I'm trying to set something up for myself involving some combinations of those things (not opinionated) that will build my python project(s). So far this repo looks like a great starting point, but I'm starting at square 1 with ubuntu. How did you intend this to be used?
I put together this Dockerfile
that works, but how did you set things up? What's the right way? I don't know what I'm doing, just that I got the following to work, and I'd like to simplify the process. I'm not happy with using docker, for example, but I don't want to clutter my filesystem trying tons of different things either.
FROM nixos/nix
RUN nix-env -i bazel
WORKDIR /apps
RUN git clone https://github.com/jvolkman/bazel-nix-python-example.git
WORKDIR bazel-nix-python-example
RUN nix-shell -p openjdk8 --command "bazel build //... && bazel run //app:test_pandas"
To run my dockerfile, save it as Dockerfile
in a new folder myfolder
. In the myfolder
directory, run
docker build . -t tmp:tmp
Upstream PR ?
Hi @jvolkman,
This example got some attention from users of rules_nixpkgs. I think it would be even more discoverable if we could add it there, in the examples section. Would you agree with that ?
I can do the PR, or let you make the commits if you prefer. If you do not want to upstream it at all, I will just add a readme with a link to this repo.
What do you think ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.