-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2898 from znz/update-devcontainer
devcontainerの設定を更新
- Loading branch information
Showing
5 changed files
with
19 additions
and
21 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
services: | ||
rurema: | ||
command: /bin/sh -c "while sleep 1000; do :; done" |
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 |
---|---|---|
@@ -1,6 +1,10 @@ | ||
{ | ||
"dockerComposeFile": ["../docker-compose.yml", "./docker-compose.yml"], | ||
"forwardPorts": [8080], | ||
"name": "rurema doctree", | ||
"service": "rurema" | ||
"name": "rurema/doctree", | ||
"dockerComposeFile": [ | ||
"../compose.yaml", | ||
"compose.yaml" | ||
], | ||
"service": "rurema", | ||
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", | ||
"forwardPorts": [8080] | ||
} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,9 +1,7 @@ | ||
FROM rubylang/ruby:2.7.2-bionic | ||
RUN install -o 1000 -g 1000 -m 755 -d /rurema /rurema/doctree | ||
WORKDIR /rurema/doctree | ||
USER 1000:1000 | ||
RUN git clone --depth=1 https://github.com/rurema/bitclust ../bitclust | ||
COPY Gemfile . | ||
RUN bundle install --path=.bundle | ||
FROM ruby:3.3.3-bookworm | ||
RUN useradd rurema --create-home --shell /bin/bash | ||
USER rurema:rurema | ||
ENV BUNDLE_AUTO_INSTALL true | ||
WORKDIR /workspaces/doctree | ||
ENTRYPOINT ["bundle", "exec"] | ||
CMD ["rake"] |
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