Last active
June 1, 2020 08:12
-
-
Save kirs/3912e1a44b67fda906ab4f6aad09ebaf to your computer and use it in GitHub Desktop.
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
version: '3' | |
services: | |
dev: | |
build: | |
dockerfile: Dockerfile | |
context: ./ | |
command: sleep infinity | |
volumes: | |
- .:/workspace:cached |
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
FROM ubuntu:bionic | |
ENV DEBIAN_FRONTEND=noninteractive | |
# tools you need to build MRI | |
RUN apt-get update && apt-get install -y tzdata git ruby autoconf bison gcc make zlib1g-dev libffi-dev libreadline-dev libgdbm-dev libssl-dev build-essential |
@nsiregar great advice, thank you!
@kirs thank you, I tried your tutorial in Ubuntu 18.04 but encounter those error
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You may want to add
to
Dockerfile
when encounter fails duringmake check
for timezone related tests.For network-related tests that may fail, you can enable ipv6 for docker by editing
/etc/docker/daemon.json
restart docker daemon with
# systemctl reload docker.service
, then enable ipv6 on your container add this ondocker-compose.yml