mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #6000 from jbampton/update-docker-files
docker: use less image layers and update compose version
This commit is contained in:
+1
-5
@@ -6,11 +6,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y python3-pip she
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY Gemfile .
|
||||
|
||||
COPY Gemfile.lock .
|
||||
|
||||
COPY .pre-commit-config.yaml .
|
||||
COPY Gemfile Gemfile.lock .pre-commit-config.yaml ./
|
||||
|
||||
RUN bundle install && pip3 install pre-commit && git init . && pre-commit install-hooks
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
version: '3'
|
||||
version: '3.8'
|
||||
services:
|
||||
test:
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user