Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Alpine Based Images and Restructuring the repo #12

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

RudolfMan
Copy link
Contributor

  • added Dockerfiles for avvo/alpine:3.9 based erlang and elixir images. And to differentiate between ubuntu and alpine - I put them into folders with respective names.

    So for example elixir/1.6.2/Dockerfile --moved to--> elixir/1.6.2/ubuntu/Dockerfile.

  • folders with Dockerfiles from ./elixir-release/ are moved to ./elixir-release/alpine/ and
    Dockerfiles from ./elixir-release-ubuntu/ are moved to ./elixir-release/ubuntu/

  • modified push.sh script respectively to tag images with version and OS name
    e.g. avvo/elixir:1.9.2-alpine and avvo/elixir:latest-alpine

  • removed the outdated ./elixir-circle/ at all.

Now structure looks like

.
...
├── elixir
│   └── 1.9
│       ├── alpine
│       │   └── Dockerfile
│       └── ubuntu
│           └── Dockerfile
├── elixir-release
│   ├── alpine
│   │   ├── 3.6
│   │   │   └── Dockerfile
│   │   └── 3.9
│   │       └── Dockerfile
│   └── ubuntu
│       ├── 18.04
│       │   └── Dockerfile
│       └── xenial
│           └── Dockerfile
├── erlang
│   └── 22
│       ├── alpine
│       │   └── Dockerfile
│       └── ubuntu
│           └── Dockerfile
└── push.sh

Plus added example of multistage Docker build for prod to README.md

Rudolf Manusadzhian added 14 commits October 21, 2019 16:48
Restructire folders:
put Dockerfiles for alpine and ubuntu in the folders with respective
names
- restructure the repo so that we could add ubuntu and alpine versions
respectively
- add example of Dockerfile with multistage build for prod
- remove outdated dockerfiles
@RudolfMan RudolfMan force-pushed the elixir-1.9.2-otp22-alpine branch from 5cf07ad to e6a1560 Compare November 22, 2019 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant