forked from Trevoke/org-gtd.el
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a Containerfile for local emacsen-based testing
- Loading branch information
Showing
2 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM nixos/nix:latest | ||
|
||
# Install Cachix. | ||
RUN nix-env -iA nixpkgs.cachix | ||
|
||
# Set the Cachix cache name. | ||
ENV CACHIX_NAME mycache | ||
|
||
# required? | ||
# Set the Cachix auth token. | ||
# ENV CACHIX_AUTH_TOKEN <your-cachix-auth-token> | ||
|
||
# Use Cachix. | ||
RUN cachix use $CACHIX_NAME | ||
|
||
ARG emacs_version | ||
|
||
# Install the desired software. | ||
RUN nix-env -iA emacs-$emacs_version -f https://github.com/purcell/nix-emacs-ci/archive/master.tar.gz | ||
|
||
# Set the working directory. | ||
WORKDIR /app | ||
|
||
# Run the application. | ||
#CMD ["my-app"] |