google
ref
1920s (originally US): from junk1.
wiktionary
ref
junk(“narcotic drug”) + -ie
etymonline
ref
junkie (n.)
"drug addict," 1923, from junk (n.1) in the narcotics sense + -y (3). Junker in the same sense is recorded from 1922. Junk for "narcotic" is older.