Skip to content

Instantly share code, notes, and snippets.

@wcheek
Last active November 30, 2021 02:39
Show Gist options
  • Save wcheek/f4f21df3acde280a9dcaf9a88c1ba848 to your computer and use it in GitHub Desktop.
Save wcheek/f4f21df3acde280a9dcaf9a88c1ba848 to your computer and use it in GitHub Desktop.
Run local Glue environment with docker compose
version: '3.8'
services:
glue:
image: amazon/aws-glue-libs:glue_libs_1.0.0_image_01
build:
context: .
stdin_open: true # docker run -i
tty: true # docker run -t
ports:
- 8888:8888
- 4040:4040
volumes:
# - ~/.aws:/root/.aws:ro
- ./code:/home/code
@wcheek
Copy link
Author

wcheek commented Nov 30, 2021

You might need to comment the image: line and add this into a Dockerfile:

FROM amazon/aws-glue-libs:glue_libs_1.0.0_image_01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment