Combine the olive oil, vinegar, sugar, garlic, salt, pepper, dry mustard and onion powder in a jar with a tight-fitting lid. Shake to mix. If you are not using right away, chill until serving; however, I always bring it to room temperature before using.