š§ dotfiles of ubuntu, include neovim configurations on my MacBook.
4.6K
Welcome to my world! Here are Docker Images for my dotfilesā based on dark powered neovim plugins made by Shougoā . I have prepared them so that you can use dark power immediately. If you want to know how the Docker Image was created, please see Dockerfilesā .
| splash screen | editing code | filer UI |
|---|---|---|
![]() | ![]() | ![]() |
I usually use a MacBook. So the following requires assumes that you are using Docker on a MacBook.
My dotfiles are not displayed properly with Terminal.app which is installed by default on Mac. So I recommend using WezTerm. Please download WezTerm on the Websiteā .
Here is a case where you have a Dockerfile for application development, and you want to develop it using the Docker Image from this repository.
rails_project/
ā Dockerfile
ā docker-compose.yml
ā entrypoint.sh
FROM ruby:3.2.0
RUN apt update -qq && apt install -y vim postgresql-client
RUN git clone https://github.com/tamago3keran/hello_app.git
WORKDIR /hello_app
RUN bundle install
COPY entrypoint.sh /usr/bin/
RUN chmod +x /usr/bin/entrypoint.sh
ENTRYPOINT ["entrypoint.sh"]
EXPOSE 3000
CMD ["rails", "server", "-b", "0.0.0.0"]
version: "1.0"
services:
database:
image: postgres
container_name: database
volumes:
- database:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: password
application:
build: .
image: application
container_name: application
command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'"
ports:
- "3000:3000"
volumes:
- application:/hello_app
depends_on:
- database
dotfiles:
image: tamago3keran/dotfiles:ruby
platform: linux/amd64
volumes:
- application:/hello_app
profiles:
- extra
volumes:
database:
name: database
application:
name: application
#!/bin/bash
set -e
rm -f /hello_app/tmp/pids/server.pid
exec "$@"
First, builds, (re)creates, starts to containers for a service.
> cd rails_project
> docker compose build
> docker compose up -d
And then, start the Docker Container including the dotfiles and run /bin/bash .
> docker compose run --name dotfiles dotfiles /bin/bash
You can use the dotilfes to edit your application code.
Content type
Image
Digest
sha256:233a9a108ā¦
Size
246.6 MB
Last updated
4 months ago
docker pull tamago3keran/dotfiles