Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add podman-based development support
- Loading branch information
Showing
3 changed files
with
67 additions
and
1 deletion.
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,27 @@ | ||
# YUM development image | ||
|
||
FROM centos:7 | ||
|
||
# Set up EPEL | ||
RUN yum install -y \ | ||
epel-release | ||
|
||
# Install useful stuff | ||
RUN yum install -y \ | ||
python-pip \ | ||
python-ipdb \ | ||
ipython \ | ||
vim \ | ||
less | ||
RUN rpm -e --nodeps yum | ||
RUN rm -rf /var/cache/yum | ||
RUN pip install --upgrade pip && pip install pudb | ||
|
||
# Use the yum checkout mounted from the host | ||
ENV PATH=/src/bin:$PATH \ | ||
PYTHONPATH=/src:$PYTHONPATH | ||
RUN ln -s /src/etc/yum.conf /etc/yum.conf | ||
RUN ln -s /src/etc/version-groups.conf /etc/yum/version-groups.conf | ||
|
||
VOLUME ["/src"] | ||
ENTRYPOINT ["/bin/bash"] |
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
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