You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Align dev container Instant Client TZ data with Oracle server
CI applies the same workaround in #2734 to dodge ORA-01805 caused by
drift between gvenzl/oracle-free:latest and the bundled Instant Client.
Mirror it for the dev container without dragging the Docker CLI into
the dev container itself.
initializeCommand runs on the host, where Docker is already available.
Pull the gvenzl image and copy timezlrg_*.dat out of it via an
ephemeral container, dropping the file under .devcontainer/tzdata/ on
the host. docker-compose bind-mounts that directory read-only at
/opt/tzdata inside the dev container, and postCreateCommand exports
ORA_TZFILE from there and persists it via /etc/profile.d so interactive
shells and bundle exec runs pick it up.
The TZ data ships in the image, so the copy step does not start Oracle
or wait for the database. No docker-outside-of-docker feature, no
/var/run/docker.sock bind mount, and no GPG-key fetching at build time.
0 commit comments