Sign inSign up

flowsea/oracle-12c

By flowsea

Updated almost 8 years ago

Oracle database 12se

Image
0

382

flowsea/oracle-12c repository overview

intro

From sath89/oracle-12c

ChangeLog:

  1. Oracle: UID and GID change to 1000
  2. update entrypoint.sh
Dockerfile
FROM ubuntu:14.04

MAINTAINER "Flowsea Docker Maintainer <[email protected]>"

ENV DEBIAN_FRONTEND=noninteractive \
        ORACLE_HOME=/u01/app/oracle/product/12.1.0/xe \
        ORACLE_SID=xe \
        WEB_CONSOLE=true \
        DBCA_TOTAL_MEMORY=2048 \
        PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/u01/app/oracle/product/12.1.0/xe/bin \
        USE_UTF8_IF_CHARSET_EMPTY=true \
        ENABLE_OWNERSHIP_FIX=true

RUN apt-get update && apt-get -y install libaio1 curl && apt-get clean && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* \
        && ln -s /usr/bin/awk /bin/awk \
        && groupadd --gid 1000 dba && useradd -g dba -m --uid 1000 oracle

ADD oracle-12c.tar.gz /
ADD entrypoint.sh /

EXPOSE 1521
EXPOSE 8080
VOLUME ["/u01/app/oracle"]

ENTRYPOINT ["/entrypoint.sh"]
docker-compose.yml
oracle-12c:
    # image: 'sath89/oracle-12c:latest'
    image: 'flowsea/oracle-12c:latest'
    restart: always
    container_name: 'oracle-12c'
    environment:
        TZ: 'Asia/Shanghai'
        DBCA_TOTAL_MEMORY: 2048
        ENABLE_OWNERSHIP_FIX: "true"
    ports:
        - 1522:1521
        - 8012:8080
    volumes:
        - /data/oracle-12c:/u01/app/oracle

Tag summary

Content type

Image

Digest

Size

2.7 GB

Last updated

almost 8 years ago

docker pull flowsea/oracle-12c