Skip to content

Commit 2d96cce

Browse files
committed
Fix Dockerfile for Darwin
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 105eac4 commit 2d96cce

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

Diff for: Dockerfile

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
FROM ruby:2.7
2-
3-
RUN curl -sLS https://get.arkade.dev | sh && \
4-
arkade system install node
2+
ENV PATH=$PATH:/usr/local/bin/
3+
USER root
4+
# RUN curl -sLS https://get.arkade.dev | sh
5+
RUN curl -SLs https://github.com/alexellis/arkade/releases/download/0.11.28/arkade-arm64 -o /usr/local/bin/arkade && find /usr/local/bin/ \
6+
&& chmod +x /usr/local/bin/arkade
7+
RUN arkade system install node
58

69
WORKDIR /srv/jekyll
710

Diff for: README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,24 @@ If you use any copyrighted material such as text, code, or images, then you must
2424

2525
### Running with docker, when Ruby 2.x is not installed
2626

27-
For live-reloading, you may need to alter the inotify settings for Linux:
27+
For Linux:
28+
29+
Update the inotify settings:
2830

2931
```bash
3032
echo 2048 | sudo tee /proc/sys/fs/inotify/max_user_instances
3133
sudo sysctl -p
3234
```
3335

36+
For MacOS/Linux:
37+
3438
Run a `yarn install` locally:
3539

3640
```bash
3741
sudo npm i -g yarn
3842
yarn install
3943
```
4044

41-
4245
Then bring the site up with:
4346

4447
```bash

0 commit comments

Comments
 (0)