build-image/Dockerfile

31 lines
903 B
Docker
Raw Normal View History

2020-06-06 15:24:05 +00:00
ARG BASE_IMAGE
FROM ${BASE_IMAGE}
2019-04-18 15:33:44 +00:00
2020-08-02 12:06:07 +00:00
RUN pacman --sync \
--refresh \
--noconfirm \
--sysupgrade awk bash-completion docker go gcc make git which zip
2020-06-01 15:01:46 +00:00
COPY installation-scripts /tmp/installation-scripts
2020-08-02 12:06:07 +00:00
# Install PKGs from own repo
RUN /tmp/installation-scripts/00-pacman-mirror.sh
2019-04-18 15:33:44 +00:00
RUN pacman --sync \
--refresh \
--noconfirm \
2020-12-23 17:47:42 +00:00
--sysupgrade \
oracle-instantclient-basic \
oracle-instantclient-jdbc \
oracle-instantclient-odbc \
oracle-instantclient-sdk \
oracle-instantclient-sqlplus \
oracle-instantclient-tools \
rpm-builder
2019-04-18 15:33:44 +00:00
ENV PATH="/root/.cargo/bin:/root/go/bin:${PATH}"
2019-08-19 16:28:06 +00:00
2020-08-02 12:06:07 +00:00
RUN for f in {01-rustup.sh,02-go-bindata.sh}; do /tmp/installation-scripts/$f; done && \
2020-06-01 14:30:59 +00:00
rm --recursive --force /tmp/installation-scripts
2019-08-19 16:28:06 +00:00
2019-04-18 15:33:44 +00:00
WORKDIR /workspace